initialize the static pid_t pid in text.c, just in case
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3107 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
diff --git a/src/text.c b/src/text.c
index 3063ab0..252ced8 100644
--- a/src/text.c
+++ b/src/text.c
@@ -34,10 +34,9 @@
#include "proto.h"
#ifndef NANO_SMALL
-static pid_t pid;
- /* The PID of the newly forked process in execute_command(). It
- * must be global because the cancel_command() signal handler
- * needs it. */
+static pid_t pid = -1;
+ /* The PID of the newly forked process in execute_command(), for
+ * use with the cancel_command() signal handler. */
#endif
#ifndef DISABLE_WRAPPING
static bool same_line_wrap = FALSE;