aboutsummaryrefslogtreecommitdiffstats
path: root/action.c
diff options
context:
space:
mode:
authorgotmor <gotmor@f2baff5b-bf2c-0410-a398-912abdc3d8b2>2007-06-24 07:31:02 +0000
committergotmor <gotmor@f2baff5b-bf2c-0410-a398-912abdc3d8b2>2007-06-24 07:31:02 +0000
commit1072eb35969164b1405d7ae68dda4997f51c045d (patch)
tree8791f071b71a0a8a442b654dda9733f5d1736f79 /action.c
parent8f38fecc04ef60e87e3fcd396d4fed9b77bfb527 (diff)
downloaddzen-1072eb35969164b1405d7ae68dda4997f51c045d.tar.gz
dzen-1072eb35969164b1405d7ae68dda4997f51c045d.zip
fix add_option, thanks Alexander V. Inyukhin
git-svn-id: http://dzen.googlecode.com/svn/trunk@110 f2baff5b-bf2c-0410-a398-912abdc3d8b2
Diffstat (limited to 'action.c')
-rw-r--r--action.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/action.c b/action.c
index 789015e..3d5fcb0 100644
--- a/action.c
+++ b/action.c
@@ -106,6 +106,7 @@ add_option(long evid, int hpos, int opos, char* opt) {
while(item) {
if(item->id == evid) {
item->action[hpos]->options[opos] = estrdup(opt);
+ item->action[hpos]->options[opos+1] = NULL;
break;
}
item = item->next;