summaryrefslogtreecommitdiff
path: root/main/common.c
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-09-02 20:05:44 -0300
committerWerner Almesberger <werner@almesberger.net>2016-09-02 20:05:44 -0300
commit85a2516303231f65fe9699f2e5165d3d3e1f9b9b (patch)
tree5d50fe58fe956db3c7dab441c2b1bbfb7fa4f7b3 /main/common.c
parentc4f8f5e0225cca8e188ba81a56573124b6273dde (diff)
downloadeeshow-85a2516303231f65fe9699f2e5165d3d3e1f9b9b.tar.gz
eeshow-85a2516303231f65fe9699f2e5165d3d3e1f9b9b.tar.bz2
eeshow-85a2516303231f65fe9699f2e5165d3d3e1f9b9b.zip
main/eeplot.c: split off from main.c
Diffstat (limited to 'main/common.c')
-rw-r--r--main/common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/common.c b/main/common.c
index 50cee63..676f988 100644
--- a/main/common.c
+++ b/main/common.c
@@ -24,7 +24,7 @@ void run_under_gdb(int argc, char *const *argv)
{
char **args;
- if (argc < 1 || strcmp(argv[1], "gdb"))
+ if (argc < 2 || strcmp(argv[1], "gdb"))
return;
args = alloc_type_n(char *, argc + 2);