[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash/gui gnash.cpp
From: |
Sandro Santilli |
Subject: |
[Gnash-commit] gnash/gui gnash.cpp |
Date: |
Tue, 03 Jul 2007 17:01:57 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Sandro Santilli <strk> 07/07/03 17:01:57
Modified files:
gui : gnash.cpp
Log message:
Make use of -g when debugger id disabled an error. Use printf as
logging isn't available yet at that time. Make the equivalent handling of -f
gettext-friendly.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/gnash.cpp?cvsroot=gnash&r1=1.81&r2=1.82
Patches:
Index: gnash.cpp
===================================================================
RCS file: /sources/gnash/gnash/gui/gnash.cpp,v
retrieving revision 1.81
retrieving revision 1.82
diff -u -b -r1.81 -r1.82
--- gnash.cpp 3 Jul 2007 16:33:43 -0000 1.81
+++ gnash.cpp 3 Jul 2007 17:01:57 -0000 1.82
@@ -270,7 +270,8 @@
// debugger.startServer(&debugger);
debugger.console();
#else
- log_error (_("No debugger; disabled at compile time"));
+ printf(_("No debugger; disabled at compile time, -g is
invalid\n"));
+ exit(EXIT_FAILURE);
#endif
break;
case 'k':
@@ -335,7 +336,7 @@
player.setFpsPrintTime(frames);
break;
#else // ndef GNASH_FPS_DEBUG
- printf("FPS debugging disabled at compile time, -f is
invalid\n");
+ printf(_("FPS debugging disabled at compile time, -f is
invalid\n"));
exit(EXIT_FAILURE);
#endif // ndef GNASH_FPS_DEBUG
}