|
@@ -2268,8 +2268,7 @@ strhandle(void) {
|
|
|
|
|
|
term.esc &= ~(ESC_STR_END|ESC_STR);
|
|
term.esc &= ~(ESC_STR_END|ESC_STR);
|
|
strparse();
|
|
strparse();
|
|
- narg = strescseq.narg;
|
|
|
|
- par = atoi(strescseq.args[0]);
|
|
|
|
|
|
+ par = (narg = strescseq.narg) ? atoi(strescseq.args[0]) : 0;
|
|
|
|
|
|
switch(strescseq.type) {
|
|
switch(strescseq.type) {
|
|
case ']': /* OSC -- Operating System Command */
|
|
case ']': /* OSC -- Operating System Command */
|