diff options
author | Torbjörn Andersson | 2009-05-31 10:02:16 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2009-05-31 10:02:16 +0000 |
commit | 0999534749f6c4edb9e4d054b95f185b829adba3 (patch) | |
tree | 55744aee72afd7cc699213a88be65938e70fa0a0 /engines/sci/gfx/gfx_test.cpp | |
parent | 3b311c65d0140e8bf727910d230ffd7a7f803761 (diff) | |
download | scummvm-rg350-0999534749f6c4edb9e4d054b95f185b829adba3.tar.gz scummvm-rg350-0999534749f6c4edb9e4d054b95f185b829adba3.tar.bz2 scummvm-rg350-0999534749f6c4edb9e4d054b95f185b829adba3.zip |
The error() and warning() functions add ! and newline automatically. (I didn't
look at debug() and debugC(), since I'm really bored with this now. :-)
svn-id: r41061
Diffstat (limited to 'engines/sci/gfx/gfx_test.cpp')
-rw-r--r-- | engines/sci/gfx/gfx_test.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/sci/gfx/gfx_test.cpp b/engines/sci/gfx/gfx_test.cpp index 7005a5e0b2..c3f48cf0d1 100644 --- a/engines/sci/gfx/gfx_test.cpp +++ b/engines/sci/gfx/gfx_test.cpp @@ -1081,7 +1081,7 @@ int main(int argc, char **argv) { case 'x': set_mode = xres = atoi(optarg); if (xres < 1) { - warning("Invalid x scale factor!"); + warning("Invalid x scale factor"); return 1; } break; @@ -1089,7 +1089,7 @@ int main(int argc, char **argv) { case 'y': set_mode = yres = atoi(optarg); if (yres < 1) { - warning("Invalid y scale factor!"); + warning("Invalid y scale factor"); return 1; } break; @@ -1097,7 +1097,7 @@ int main(int argc, char **argv) { case 'c': set_mode = color_mode = atoi(optarg); if (color_mode < 1 || color_mode > 4) { - warning("Invalid number of bytes per pixel!"); + warning("Invalid number of bytes per pixel"); return 1; } break; @@ -1128,7 +1128,7 @@ int main(int argc, char **argv) { } if (init_driver(drv)) { - warning("Initialization failed!"); + warning("Initialization failed"); return 1; } @@ -1138,7 +1138,7 @@ int main(int argc, char **argv) { warning("Something weird happened while exitting..."); } } else { - warning("No graphics driver found!"); + warning("No graphics driver found"); return 1; } |