Changeset 32312
- Timestamp:
- 01/11/15 04:11:39 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/titan/infobar.h
r32311 r32312 15 15 //if(infobar_sel == NULL) ostrcat(infobar_sel, "infobar", 0, 0); // fallback to default 16 16 if(ostrcmp(infobar_sel, NULL) != 0) { 17 ostrcat(infobar_sel, "infobar", 0, 0); // fallback to default17 infobar_sel = ostrcat(infobar_sel, "infobar", 0, 0); // fallback to default 18 18 debug(10, "fallback, set infobar1=%s", infobar_sel); 19 19 } … … 21 21 //if(infobar2_sel == NULL) ostrcat(infobar2_sel, "infobar2", 0, 0); // fallback to default 22 22 if(ostrcmp(infobar2_sel, NULL) != 0) { 23 ostrcat(infobar2_sel, "infobar", 0, 0); // fallback to default23 infobar2_sel = ostrcat(infobar2_sel, "infobar", 0, 0); // fallback to default 24 24 debug(10, "fallback, set infobar2=%s", infobar2_sel); 25 25 }
Note: See TracChangeset
for help on using the changeset viewer.