diff options
Diffstat (limited to 'games/xlogical/files/patch-menuentry.cpp')
| -rw-r--r-- | games/xlogical/files/patch-menuentry.cpp | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/games/xlogical/files/patch-menuentry.cpp b/games/xlogical/files/patch-menuentry.cpp index 83e1fd7bcc6f..0f80dfcee856 100644 --- a/games/xlogical/files/patch-menuentry.cpp +++ b/games/xlogical/files/patch-menuentry.cpp @@ -1,28 +1,28 @@ --- menuentry.cpp.orig 2007-11-06 00:04:44.000000000 +0100 +++ menuentry.cpp 2007-11-06 00:06:49.000000000 +0100 @@ -104,14 +104,14 @@ - if (fOnOff)
- {
- font->render_string(
-- "*",
-+ (char *)"*",
- fX + graphDriver->graph_hi_font( )->stringLen( const_cast<char *>(fText.c_str() ) ),
- fY );
- } else {
- graphDriver->graph_clear_rect(
- fX + graphDriver->graph_hi_font()->stringLen( const_cast<char *>(fText.c_str() ) ),
- fY,
-- graphDriver->graph_hi_font()->stringLen( "*" ),
-+ graphDriver->graph_hi_font()->stringLen((char *) "*" ),
- graphDriver->graph_hi_font()->get_height() );
- }
-
+ if (fOnOff) + { + font->render_string( +- "*", ++ (char *)"*", + fX + graphDriver->graph_hi_font( )->stringLen( const_cast<char *>(fText.c_str() ) ), + fY ); + } else { + graphDriver->graph_clear_rect( + fX + graphDriver->graph_hi_font()->stringLen( const_cast<char *>(fText.c_str() ) ), + fY, +- graphDriver->graph_hi_font()->stringLen( "*" ), ++ graphDriver->graph_hi_font()->stringLen((char *) "*" ), + graphDriver->graph_hi_font()->get_height() ); + } + @@ -131,7 +131,7 @@ - graphDriver->graph_clear_rect(
- fX + graphDriver->graph_hi_font()->stringLen( const_cast<char *>(fText.c_str() ) ),
- fY,
-- graphDriver->graph_hi_font()->stringLen( "*" ),
-+ graphDriver->graph_hi_font()->stringLen((char *) "*" ),
- graphDriver->graph_hi_font()->get_height() );
-
- switch( aKeyval )
+ graphDriver->graph_clear_rect( + fX + graphDriver->graph_hi_font()->stringLen( const_cast<char *>(fText.c_str() ) ), + fY, +- graphDriver->graph_hi_font()->stringLen( "*" ), ++ graphDriver->graph_hi_font()->stringLen((char *) "*" ), + graphDriver->graph_hi_font()->get_height() ); + + switch( aKeyval ) |
