summaryrefslogtreecommitdiff
path: root/support/popt.c
diff options
context:
space:
mode:
authorErik Troan <ewt@src.gnome.org>1998-09-27 15:54:21 +0000
committerErik Troan <ewt@src.gnome.org>1998-09-27 15:54:21 +0000
commit7e8d04d2ac6e9b8015a0e299ce7a7fcf27afc963 (patch)
treeec1c27f73079f398ae7059a73927e276cf943033 /support/popt.c
parent79b1b4a560477b80455b7cb6a6cbdd66f048971d (diff)
downloadshared-mime-info-7e8d04d2ac6e9b8015a0e299ce7a7fcf27afc963.tar.gz
changed popt callbacks t get a pointer into the option table
svn path=/trunk/; revision=411
Diffstat (limited to 'support/popt.c')
-rw-r--r--support/popt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/support/popt.c b/support/popt.c
index 96d60537..0df31796 100644
--- a/support/popt.c
+++ b/support/popt.c
@@ -370,7 +370,7 @@ int poptGetNextOpt(poptContext con) {
}
if (cb)
- cb(con, opt->val, con->os->nextArg, cbData);
+ cb(con, opt, con->os->nextArg, cbData);
else if (opt->val)
done = 1;