Author: mordante
Date: Sat Apr 5 11:43:34 2008
New Revision: 25558
URL: http://svn.gna.org/viewcvs/wesnoth?rev=25558&view=rev
Log:
Fixed a stupid nop error, found by gcc.
Modified:
trunk/src/gui/widgets/text_box.cpp
Modified: trunk/src/gui/widgets/text_box.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/gui/widgets/text_box.cpp?rev=25558&r1=25557&r2=25558&view=diff
==============================================================================
--- trunk/src/gui/widgets/text_box.cpp (original)
+++ trunk/src/gui/widgets/text_box.cpp Sat Apr 5 11:43:34 2008
@@ -161,7 +161,7 @@
}
// If ctrl-a is used for home drop the control modifier
- modifier &~ KMOD_CTRL;
+ modifier = static_cast<SDLMod>(modifier &~ KMOD_CTRL);
/* FALL DOWN */
case SDLK_HOME :
@@ -175,7 +175,7 @@
}
// If ctrl-e is used for end drop the control modifier
- modifier &~ KMOD_CTRL;
+ modifier = static_cast<SDLMod>(modifier &~ KMOD_CTRL);
/* FALL DOWN */
case SDLK_END :
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits