From: Francois Fleuret Date: Fri, 13 Mar 2009 09:54:09 +0000 (+0100) Subject: *** empty log message *** X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=commitdiff_plain;h=12892379844ef251d395dc5344087a3cc56ba406;p=selector.git *** empty log message *** --- diff --git a/selector.cc b/selector.cc index 13eb43a..4347e51 100644 --- 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);