aboutsummaryrefslogtreecommitdiffstats
path: root/action.c
diff options
context:
space:
mode:
authorgotmor <gotmor@f2baff5b-bf2c-0410-a398-912abdc3d8b2>2007-07-16 21:14:38 +0000
committergotmor <gotmor@f2baff5b-bf2c-0410-a398-912abdc3d8b2>2007-07-16 21:14:38 +0000
commit4bf91632557e438fb7cd5e93e1511a749aafcebd (patch)
treec58d7ac581ad815ca30f144d105e4bf6d5191c30 /action.c
parentf20bf2dd0b3a48191cec442df982185280b764b9 (diff)
downloaddzen-4bf91632557e438fb7cd5e93e1511a749aafcebd.tar.gz
dzen-4bf91632557e438fb7cd5e93e1511a749aafcebd.zip
clean up
readded text longer than line markers git-svn-id: http://dzen.googlecode.com/svn/trunk@125 f2baff5b-bf2c-0410-a398-912abdc3d8b2
Diffstat (limited to 'action.c')
-rw-r--r--action.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/action.c b/action.c
index a83944f..ea66889 100644
--- a/action.c
+++ b/action.c
@@ -202,12 +202,14 @@ void
fill_ev_table(char *input) {
char *str1, *str2, *str3, *str4,
*token, *subtoken, *kommatoken, *dptoken;
- char *saveptr1, *saveptr2, *saveptr3, *saveptr4;
+ char *saveptr1=NULL,
+ *saveptr2=NULL,
+ *saveptr3=NULL,
+ *saveptr4=NULL;
int j, i=0, k=0;
long eid=0;
handlerf *ah=0;
- saveptr1 = NULL; /* wtf, gcc? wtf? */
for (j = 1, str1 = input; ; j++, str1 = NULL) {
token = strtok_r(str1, ";", &saveptr1);
if (token == NULL)
@@ -267,7 +269,6 @@ a_exit(char * opt[]) {
int
a_collapse(char * opt[]){
- int i;
(void)opt;
if(!dzen.slave_win.ishmenu
&& dzen.slave_win.max_lines