projects
/
selector.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
41927c7
)
*** empty log message ***
author
Francois Fleuret
<francois@fleuret.org>
Fri, 13 Mar 2009 09:54:09 +0000
(10:54 +0100)
committer
Francois Fleuret
<francois@fleuret.org>
Fri, 13 Mar 2009 09:54:09 +0000
(10:54 +0100)
selector.cc
patch
|
blob
|
history
diff --git
a/selector.cc
b/selector.cc
index
13eb43a
..
4347e51
100644
(file)
--- a/
selector.cc
+++ b/
selector.cc
@@
-448,6
+448,7
@@
int main(int argc, char **argv) {
if(zsh_history && *s == ':') {
s++;
while(*s && *s != ':') s++;
+ if(*s == ':') s++;
}
lines[nb_lines] = new char[strlen(s) + 1];
strcpy(lines[nb_lines], s);