aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schickel2009-03-01 22:09:46 +0000
committerJohannes Schickel2009-03-01 22:09:46 +0000
commit454225833664bc12b4a146d77e59caf379a1cdd7 (patch)
tree54f0ccec1d7b33ec257ee58e1157ba5c9f65930c
parent4f2f82adc2d9ce83407d2decf2fc2f8526d01b1c (diff)
downloadscummvm-rg350-454225833664bc12b4a146d77e59caf379a1cdd7.tar.gz
scummvm-rg350-454225833664bc12b4a146d77e59caf379a1cdd7.tar.bz2
scummvm-rg350-454225833664bc12b4a146d77e59caf379a1cdd7.zip
Fix documentation, debug(C/N) prints to stdout not stderr.
svn-id: r39058
-rw-r--r--common/debug.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/common/debug.h b/common/debug.h
index 21b7fbb0f2..43fe297859 100644
--- a/common/debug.h
+++ b/common/debug.h
@@ -112,13 +112,13 @@ inline void debugC(uint32 engine_level, const char *s, ...) {}
/**
- * Print a debug message to the text console (stderr).
+ * Print a debug message to the text console (stdout).
* Automatically appends a newline.
*/
void debug(const char *s, ...) GCC_PRINTF(1, 2);
/**
- * Print a debug message to the text console (stderr), but only if
+ * Print a debug message to the text console (stdout), but only if
* the specified level does not exceed the value of gDebugLevel.
* As a rule of thumb, the more important the message, the lower the level.
* Automatically appends a newline.
@@ -126,7 +126,7 @@ void debug(const char *s, ...) GCC_PRINTF(1, 2);
void debug(int level, const char *s, ...) GCC_PRINTF(2, 3);
/**
- * Print a debug message to the text console (stderr), but only if
+ * Print a debug message to the text console (stdout), but only if
* the specified level does not exceed the value of gDebugLevel.
* As a rule of thumb, the more important the message, the lower the level.
* Does not append a newline.
@@ -134,7 +134,7 @@ void debug(int level, const char *s, ...) GCC_PRINTF(2, 3);
void debugN(int level, const char *s, ...) GCC_PRINTF(2, 3);
/**
- * Print a debug message to the text console (stderr), but only if
+ * Print a debug message to the text console (stdout), but only if
* the specified level does not exceed the value of gDebugLevel OR
* if the specified special debug level is active.
* As a rule of thumb, the more important the message, the lower the level.
@@ -145,7 +145,7 @@ void debugN(int level, const char *s, ...) GCC_PRINTF(2, 3);
void debugC(int level, uint32 debugChannels, const char *s, ...) GCC_PRINTF(3, 4);
/**
- * Print a debug message to the text console (stderr), but only if
+ * Print a debug message to the text console (stdout), but only if
* the specified special debug level is active.
* Automatically appends a newline.
*