aboutsummaryrefslogtreecommitdiff
path: root/util/fbrun
diff options
context:
space:
mode:
Diffstat (limited to 'util/fbrun')
-rw-r--r--util/fbrun/FbRun.cc5
-rw-r--r--util/fbrun/FbRun.hh3
2 files changed, 3 insertions, 5 deletions
diff --git a/util/fbrun/FbRun.cc b/util/fbrun/FbRun.cc
index d2f468c..039be6b 100644
--- a/util/fbrun/FbRun.cc
+++ b/util/fbrun/FbRun.cc
@@ -19,7 +19,7 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22// $Id: FbRun.cc,v 1.5 2002/11/13 16:43:52 fluxgen Exp $ 22// $Id: FbRun.cc,v 1.6 2002/11/13 16:44:42 fluxgen Exp $
23 23
24#include "FbRun.hh" 24#include "FbRun.hh"
25 25
@@ -42,8 +42,7 @@ m_display(BaseDisplay::getXDisplay()),
42m_bevel(4), 42m_bevel(4),
43m_gc(DefaultGC(m_display, DefaultScreen(m_display))), 43m_gc(DefaultGC(m_display, DefaultScreen(m_display))),
44m_end(false), 44m_end(false),
45m_current_history_item(0), 45m_current_history_item(0) {
46m_drawstart_x(0) {
47 createWindow(x, y, width + m_bevel, m_font.height()); 46 createWindow(x, y, width + m_bevel, m_font.height());
48} 47}
49 48
diff --git a/util/fbrun/FbRun.hh b/util/fbrun/FbRun.hh
index a7a3983..1bdbd9d 100644
--- a/util/fbrun/FbRun.hh
+++ b/util/fbrun/FbRun.hh
@@ -19,7 +19,7 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22// $Id: FbRun.hh,v 1.4 2002/11/13 16:43:52 fluxgen Exp $ 22// $Id: FbRun.hh,v 1.5 2002/11/13 16:44:42 fluxgen Exp $
23 23
24#ifndef FBRUN_HH 24#ifndef FBRUN_HH
25#define FBRUN_HH 25#define FBRUN_HH
@@ -82,7 +82,6 @@ private:
82 std::vector<std::string> m_history; ///< history list of commands 82 std::vector<std::string> m_history; ///< history list of commands
83 size_t m_current_history_item; ///< holds current position in command history 83 size_t m_current_history_item; ///< holds current position in command history
84 std::string m_history_file; ///< holds filename for command history file 84 std::string m_history_file; ///< holds filename for command history file
85 int m_drawstart_x; ///< for scrolling if cursor is to far to the right
86}; 85};
87 86
88#endif // FBRUN_HH 87#endif // FBRUN_HH