[Mplayerplug-in-cvs] mplayerplug-in/Source plugin-ui.cpp, 1.250, 1.251
Brought to you by:
kdekorte
|
From: Kevin D. <kde...@us...> - 2007-09-27 13:40:39
|
Update of /cvsroot/mplayerplug-in/mplayerplug-in/Source In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv28514/Source Modified Files: plugin-ui.cpp Log Message: fix int truncation of percent value Index: plugin-ui.cpp =================================================================== RCS file: /cvsroot/mplayerplug-in/mplayerplug-in/Source/plugin-ui.cpp,v retrieving revision 1.250 retrieving revision 1.251 diff -C2 -d -r1.250 -r1.251 *** plugin-ui.cpp 14 Aug 2007 19:27:13 -0000 1.250 --- plugin-ui.cpp 27 Sep 2007 13:40:25 -0000 1.251 *************** *** 1048,1052 **** gdk_window_get_size(widget->window,&width,&height); #endif ! percent = event->x / width; if (instance->currentnode != NULL) { --- 1048,1052 ---- gdk_window_get_size(widget->window,&width,&height); #endif ! percent = (float)event->x / (float)width; if (instance->currentnode != NULL) { |