summaryrefslogtreecommitdiff
path: root/misc/mc/files/patch-src-command.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc/mc/files/patch-src-command.c')
-rw-r--r--misc/mc/files/patch-src-command.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/misc/mc/files/patch-src-command.c b/misc/mc/files/patch-src-command.c
new file mode 100644
index 000000000000..1dc7e17c8f64
--- /dev/null
+++ b/misc/mc/files/patch-src-command.c
@@ -0,0 +1,11 @@
+--- src/command.c.orig Thu Nov 14 13:25:19 2002
++++ src/command.c Tue Jun 15 03:15:09 2004
+@@ -258,7 +258,7 @@
+ WInput *
+ command_new (int y, int x, int cols)
+ {
+- WInput *cmd = g_new (WInput, 1);
++ WInput *cmd;
+
+ cmd = input_new (y, x, DEFAULT_COLOR, cols, "", "cmdline");
+