| Previous | 15994 Revisions | Next |
| r7856 Sunday 18th April, 2010 at 13:03:59 UTC by Firewave |
|---|
| WINUI] Removed obsolete utils function |
| [src/osd/winui] | mui_util.c mui_util.h |
| r7855 | r7856 | |
|---|---|---|
| 554 | 554 | zip_file_cache_clear(); |
| 555 | 555 | } |
| 556 | 556 | |
| 557 | void FreeIfAllocated(char **s) | |
| 558 | { | |
| 559 | if (*s) | |
| 560 | global_free(*s); | |
| 561 | *s = NULL; | |
| 562 | } | |
| 563 | ||
| 564 | 557 | BOOL StringIsSuffixedBy(const char *s, const char *suffix) |
| 565 | 558 | { |
| 566 | 559 | return (strlen(s) > strlen(suffix)) && (strcmp(s + strlen(s) - strlen(suffix), suffix) == 0); |
| r7855 | r7856 | |
|---|---|---|
| 59 | 59 | |
| 60 | 60 | void FlushFileCaches(void); |
| 61 | 61 | |
| 62 | void FreeIfAllocated(char **s); | |
| 63 | ||
| 64 | 62 | BOOL StringIsSuffixedBy(const char *s, const char *suffix); |
| 65 | 63 | |
| 66 | 64 | BOOL SafeIsAppThemed(void); |
| Previous | 15994 Revisions | Next |