diff options
author | gotmor <gotmor@f2baff5b-bf2c-0410-a398-912abdc3d8b2> | 2007-06-24 07:31:02 +0000 |
---|---|---|
committer | gotmor <gotmor@f2baff5b-bf2c-0410-a398-912abdc3d8b2> | 2007-06-24 07:31:02 +0000 |
commit | 1072eb35969164b1405d7ae68dda4997f51c045d (patch) | |
tree | 8791f071b71a0a8a442b654dda9733f5d1736f79 /action.c | |
parent | 8f38fecc04ef60e87e3fcd396d4fed9b77bfb527 (diff) | |
download | dzen-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.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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; |