equal
deleted
inserted
replaced
360 int process_command(const char *line, guint iscmd) |
360 int process_command(const char *line, guint iscmd) |
361 { |
361 { |
362 char *p; |
362 char *p; |
363 char *xpline; |
363 char *xpline; |
364 cmd *curcmd; |
364 cmd *curcmd; |
|
365 |
|
366 if (!line) |
|
367 return 0; |
365 |
368 |
366 // We do alias expansion here |
369 // We do alias expansion here |
367 if (iscmd || scr_get_multimode() != 2) |
370 if (iscmd || scr_get_multimode() != 2) |
368 xpline = expandalias(line); |
371 xpline = expandalias(line); |
369 else |
372 else |