commit | 4172f668e7838a0e89d09b569d99745228c1c9c0 | [log] [tgz] |
---|---|---|
author | Kristian Høgsberg <krh@bitplanet.net> | Wed Feb 20 15:27:49 2013 -0500 |
committer | Kristian Høgsberg <krh@bitplanet.net> | Wed Feb 20 15:27:49 2013 -0500 |
tree | 6e6ee4be97767deb50e9a34660ec744e06974498 | |
parent | d5a97ae053b92dd1050a2cd42287d6c7840fe88c [diff] [blame] |
Pass argc pointer to parse_options() This lets us keep argc up to date as the backend picks out arguments from the argv array.
diff --git a/clients/editor.c b/clients/editor.c index 32c3f9b..0de2500 100644 --- a/clients/editor.c +++ b/clients/editor.c
@@ -1056,7 +1056,7 @@ g_type_init(); #endif - editor.display = display_create(argc, argv); + editor.display = display_create(&argc, argv); if (editor.display == NULL) { fprintf(stderr, "failed to create display: %m\n"); return -1;