1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

; * src/android.c (android_rewrite_spawn_argv): Fix typo.

This commit is contained in:
Po Lu 2025-03-11 10:14:30 +08:00
parent 672df0288b
commit f6a56ddb5d

View file

@ -7426,7 +7426,7 @@ android_rewrite_spawn_argv (const char ***argv)
/* Allocate a buffer in which to save the rewritten argument /* Allocate a buffer in which to save the rewritten argument
array. */ array. */
if (n_new_args != nargs) if (n_new_args != nargs + 2)
{ {
new_args = xrealloc (new_args, sizeof *new_args * (nargs + 3)); new_args = xrealloc (new_args, sizeof *new_args * (nargs + 3));
n_new_args = nargs + 2; n_new_args = nargs + 2;