X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/6fcc8fcf6b98f413f813904fe0f078d2782fb9d5..1855f998e5c0e51e2c1958724ac84cc13a87d84c:/Constructor/src/pump.cpp diff --git a/Constructor/src/pump.cpp b/Constructor/src/pump.cpp index cafa7d5..793df76 100644 --- a/Constructor/src/pump.cpp +++ b/Constructor/src/pump.cpp @@ -73,11 +73,10 @@ bool Pump::on_button_press_event(GdkEventButton *event) } CItem::gate_id = -1; } - char f[10]; + char f[20]; Glib::ustring text; - sprintf(f,"%.1f",entrega); - text = name+" Entrega: "; - text += f; + sprintf(f," Entrega:%.1f",entrega); + text = name+f; status_bar->push ( text, 0); }