summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-console/history.cpp
Unidiff
Diffstat (limited to 'noncore/apps/opie-console/history.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-console/history.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/noncore/apps/opie-console/history.cpp b/noncore/apps/opie-console/history.cpp
index 3b82d16..226a0a2 100644
--- a/noncore/apps/opie-console/history.cpp
+++ b/noncore/apps/opie-console/history.cpp
@@ -58,33 +58,33 @@ FIXME: Terminating the history is not properly indicated
58 in the menu. We should throw a signal. 58 in the menu. We should throw a signal.
59 59
60FIXME: There is noticable decrease in speed, also. Perhaps, 60FIXME: There is noticable decrease in speed, also. Perhaps,
61 there whole feature needs to be revisited therefore. 61 there whole feature needs to be revisited therefore.
62 Disadvantage of a more elaborated, say block-oriented 62 Disadvantage of a more elaborated, say block-oriented
63 scheme with wrap around would be it's complexity. 63 scheme with wrap around would be it's complexity.
64*/ 64*/
65 65
66//FIXME: tempory replacement for tmpfile 66//FIXME: tempory replacement for tmpfile
67// this is here one for debugging purpose. 67// this is here one for debugging purpose.
68 68
69//#define tmpfile xTmpFile 69//#define tmpfile xTmpFile
70 70/*
71FILE* xTmpFile() 71FILE* xTmpFile()
72{ 72{
73 static int fid = 0; 73 static int fid = 0;
74 char fname[80]; 74 char fname[80];
75 sprintf(fname,"TmpFile.%d",fid++); 75 sprintf(fname,"TmpFile.%d",fid++);
76 return fopen(fname,"w"); 76 return fopen(fname,"w");
77} 77}
78 78*/
79 79
80// History Buffer /////////////////////////////////////////// 80// History Buffer ///////////////////////////////////////////
81 81
82/* 82/*
83 A Row(X) data type which allows adding elements to the end. 83 A Row(X) data type which allows adding elements to the end.
84*/ 84*/
85 85
86HistoryBuffer::HistoryBuffer() 86HistoryBuffer::HistoryBuffer()
87{ 87{
88 ion = -1; 88 ion = -1;
89 length = 0; 89 length = 0;
90} 90}