Commit 7be244c5 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

printHistory: quote history string.

parent 93563bef
...@@ -101,7 +101,7 @@ printHistory(FILE *fp, const int streamID) ...@@ -101,7 +101,7 @@ printHistory(FILE *fp, const int streamID)
char *history = (char *) Malloc(historysize + 1); char *history = (char *) Malloc(historysize + 1);
history[historysize] = 0; history[historysize] = 0;
streamInqHistoryString(fileID, history); streamInqHistoryString(fileID, history);
fprintf(fp, " history = %s\n", history); fprintf(fp, " history = \"%s\"\n", history);
Free(history); Free(history);
} }
} }
......
...@@ -29,6 +29,7 @@ enum text_mode ...@@ -29,6 +29,7 @@ enum text_mode
REVERSE = 7, REVERSE = 7,
HIDDEN = 8 HIDDEN = 8
}; };
enum text_color enum text_color
{ {
BLACK = 0, BLACK = 0,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment