diff options
author | Torbjörn Andersson | 2004-05-05 13:05:45 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2004-05-05 13:05:45 +0000 |
commit | 148872d1fd622092cb7975d414bb6f161d0801ef (patch) | |
tree | 336a5580e55e56c85862b2a0a3e0b5fe3ddb5262 /saga/console.cpp | |
parent | 4102a3b13f1455ddfd7e8b17e4f8f1bd1e14f0c2 (diff) | |
download | scummvm-rg350-148872d1fd622092cb7975d414bb6f161d0801ef.tar.gz scummvm-rg350-148872d1fd622092cb7975d414bb6f161d0801ef.tar.bz2 scummvm-rg350-148872d1fd622092cb7975d414bb6f161d0801ef.zip |
Replaced R_printf() with debug() and warning(). There are still a couple of
standard printf()s left, though.
svn-id: r13791
Diffstat (limited to 'saga/console.cpp')
-rw-r--r-- | saga/console.cpp | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/saga/console.cpp b/saga/console.cpp index b1cf724f6b..8c8aabe7d2 100644 --- a/saga/console.cpp +++ b/saga/console.cpp @@ -67,7 +67,7 @@ int CON_Init() { } int CON_Shutdown() { - R_printf(R_STDOUT, "CON_Shutdown(): Deleting console scrollback and command history.\n"); + debug(0, "CON_Shutdown(): Deleting console scrollback and command history."); CON_DeleteScroll(&ConScrollback); CON_DeleteScroll(&ConHistory); @@ -283,7 +283,7 @@ int CON_CmdUp() { strcpy(ConInfo.input_buf, start_ptr->str_p); ConInfo.input_pos = start_ptr->str_len - 1; - R_printf(R_STDOUT, "History pos: %d/%d", ConInfo.hist_pos, ConHistory.lines); + debug(0, "History pos: %d/%d", ConInfo.hist_pos, ConHistory.lines); return R_SUCCESS; } @@ -293,7 +293,7 @@ int CON_CmdDown(void) { int i; if (ConInfo.hist_pos == 1) { - R_printf(R_STDOUT, "Erased input buffer."); + debug(0, "Erased input buffer."); memset(ConInfo.input_buf, 0, R_CON_INPUTBUF_LEN); ConInfo.input_pos = 0; ConInfo.hist_pos--; @@ -316,8 +316,7 @@ int CON_CmdDown(void) { strcpy(ConInfo.input_buf, start_ptr->str_p); ConInfo.input_pos = start_ptr->str_len - 1; - R_printf(R_STDOUT, "History pos: %d/%d", ConInfo.hist_pos, - ConHistory.lines); + debug(0, "History pos: %d/%d", ConInfo.hist_pos, ConHistory.lines); return R_SUCCESS; } @@ -330,7 +329,7 @@ int CON_PageUp() { ConInfo.line_pos += n_lines; } - R_printf(R_STDOUT, "Line pos: %d", ConInfo.line_pos); + debug(0, "Line pos: %d", ConInfo.line_pos); return R_SUCCESS; } |