@@ -105,6 +105,7 @@ Strnew_m_charp(const char *p, ...)
|
|||||||
Strcat_charp(r, p);
|
Strcat_charp(r, p);
|
||||||
p = va_arg(ap, char *);
|
p = va_arg(ap, char *);
|
||||||
}
|
}
|
||||||
|
va_end(ap);
|
||||||
return r;
|
return r;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -276,6 +277,7 @@ Strcat_m_charp(Str x, ...)
|
|||||||
va_start(ap, x);
|
va_start(ap, x);
|
||||||
while ((p = va_arg(ap, char *)) != NULL)
|
while ((p = va_arg(ap, char *)) != NULL)
|
||||||
Strcat_charp_n(x, p, strlen(p));
|
Strcat_charp_n(x, p, strlen(p));
|
||||||
|
va_end(ap);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|||||||
@@ -1457,7 +1457,8 @@ escKeyProc(int c, int esc, unsigned char *map)
|
|||||||
esc |= (CurrentKey & ~0xFFFF);
|
esc |= (CurrentKey & ~0xFFFF);
|
||||||
}
|
}
|
||||||
CurrentKey = esc | c;
|
CurrentKey = esc | c;
|
||||||
w3mFuncList[(int)map[c]].func();
|
if (map)
|
||||||
|
w3mFuncList[(int)map[c]].func();
|
||||||
}
|
}
|
||||||
|
|
||||||
DEFUN(escmap, ESCMAP, "ESC map")
|
DEFUN(escmap, ESCMAP, "ESC map")
|
||||||
|
|||||||
@@ -747,7 +747,7 @@ lc2c(longchar * x, int len)
|
|||||||
int i = 0, j = 0;
|
int i = 0, j = 0;
|
||||||
char *r;
|
char *r;
|
||||||
|
|
||||||
while (x[j].type != RE_TYPE_END && j < len) {
|
while (j < len && x[j].type != RE_TYPE_END) {
|
||||||
if (x[j].type == RE_WHICH_RANGE)
|
if (x[j].type == RE_WHICH_RANGE)
|
||||||
y[i++] = '-';
|
y[i++] = '-';
|
||||||
#ifdef USE_M17N
|
#ifdef USE_M17N
|
||||||
|
|||||||
Reference in New Issue
Block a user