Changeset 10849 for titan/titan/channellist.h
- Timestamp:
- 10/31/11 18:29:25 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/titan/channellist.h
r10840 r10849 345 345 struct skin* tmpskin; 346 346 int rcret, ret, listmode, newmodus, list; 347 char* tmpstr , *tmpstr1;348 void* movesel , *aktlist;347 char* tmpstr = NULL, *tmpstr1 = NULL; 348 void* movesel = NULL, *aktlist = NULL; 349 349 350 350 status.channelswitch = 1; … … 802 802 break; 803 803 } 804 char* oldchannellist = NULL;805 if(status.servicetype == 0)806 oldchannellist = ostrcat(NULL, getconfignotmp("channellist", NULL), 0, 0);807 else808 oldchannellist = ostrcat(NULL, getconfignotmp("rchannellist", NULL), 0, 0);809 804 810 805 clearscreen(channellist); 811 806 drawscreen(skin, 0); 812 ret = servicestart((struct channel*)listbox->select->handle, NULL, 0); 813 if(ret == 20 || ret == 21 || ret == 22) 814 free(oldchannellist); 807 if(status.servicetype == 0) 808 ret = servicestart((struct channel*)listbox->select->handle, getconfig("channellist", NULL), NULL, 0); 815 809 else 816 { 817 writeconfigtmp(); 818 free(status.oldchannellist); 819 status.oldchannellist = oldchannellist; 820 } 821 810 ret = servicestart((struct channel*)listbox->select->handle, getconfig("rchannellist", NULL), NULL, 0); 822 811 servicecheckret(ret, 0); 823 812 break; … … 1109 1098 delmarkedscreennodes(channellist, 2); 1110 1099 delownerrc(channellist); 1111 delconfigtmpall(); 1100 delconfigtmp("channellist"); 1101 delconfigtmp("rchannellist"); 1112 1102 clearscreen(channellist); 1113 1103 if(newmodus == 1) goto start;
Note: See TracChangeset
for help on using the changeset viewer.