Changeset 44141
- Timestamp:
- 10/11/19 16:33:35 (4 years ago)
- Location:
- titan/titan
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/titan/config.h
r23206 r44141 228 228 } 229 229 230 char* getconfigdef(char *key, char *ext, char *def) 231 { 232 getlist(config, key, ext); 233 if(getlist(config, key, ext) == NULL) 234 return ostrcat(def, NULL,0,0); 235 else 236 return getlist(config, key, ext); 237 } 238 230 239 int getconfigint(char *key, char *ext) 231 240 { -
titan/titan/global.h
r44138 r44141 6804 6804 6805 6805 tmpstr = ostrcat(tuner->feshortname, "_hyprid_last", 0, 0); 6806 if(ostrcmp(getconfig (tmpstr, "0"), value) == 0)6806 if(ostrcmp(getconfigdef(tmpstr, NULL, "0"), value) == 0) 6807 6807 { 6808 6808 printf("set hyprid.. new value %s eq old value %s\n", value, getconfig(tmpstr, "0"));
Note: See TracChangeset
for help on using the changeset viewer.