blob: 3a44276df0e1210fdd868b8fae2d718401f6e221 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
$NetBSD: patch-ad,v 1.1 2007/12/10 13:25:10 obache Exp $
--- src/inputbar.cpp.orig 2004-09-27 18:22:51.000000000 +0000
+++ src/inputbar.cpp
@@ -31,7 +31,7 @@ InputBar::InputBar(Monitor *monitor, Rec
prompt_ = 0;
promptCounter_ = 0;
isArgument_ = false;
- entryBegin_ = entryEnd_ = 0;
+ entryBegin_ = entryEnd_ = names_.end();
partitionBegin_ = selected_ = entryBegin_;
args_ = "";
LOGDEBUG("creating input");
@@ -233,7 +233,7 @@ void InputBar::queryText(string text) {
clearPrevPartitionsStack();
}
else {
- entryBegin_ = entryEnd_ = 0;
+ entryBegin_ = entryEnd_ = names_.end();
partitionBegin_ = selected_ = entryBegin_;
text_ = text;
}
|