tweaks: do not change the pointer, but move the content of the string
Этот коммит содержится в:
родитель
735a608e80
Коммит
9bd7d62c10
@ -2168,7 +2168,7 @@ int main(int argc, char **argv)
|
|||||||
}
|
}
|
||||||
/* Strip leading whitespace from the speller command, if any. */
|
/* Strip leading whitespace from the speller command, if any. */
|
||||||
while (alt_speller && *alt_speller && isblank(*alt_speller))
|
while (alt_speller && *alt_speller && isblank(*alt_speller))
|
||||||
alt_speller++;
|
memmove(alt_speller, alt_speller + 1, strlen(alt_speller));
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* If an rcfile undid the default settings, copy it to the new flags. */
|
/* If an rcfile undid the default settings, copy it to the new flags. */
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user