From: Po Lu Date: Tue, 11 Mar 2025 02:14:30 +0000 (+0800) Subject: ; * src/android.c (android_rewrite_spawn_argv): Fix typo. X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=852c2675c59e7b884d2ae59f3358902febadf9ec;p=emacs.git ; * src/android.c (android_rewrite_spawn_argv): Fix typo. (cherry picked from commit f6a56ddb5dd84c9984d49c9c223e043844ae47ae) --- diff --git a/src/android.c b/src/android.c index 6a6996a438b..0be3e10dea4 100644 --- a/src/android.c +++ b/src/android.c @@ -7426,7 +7426,7 @@ android_rewrite_spawn_argv (const char ***argv) /* Allocate a buffer in which to save the rewritten argument array. */ - if (n_new_args != nargs) + if (n_new_args != nargs + 2) { new_args = xrealloc (new_args, sizeof *new_args * (nargs + 3)); n_new_args = nargs + 2;