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

src/osd/winui/mui_util.c
r7855r7856
554554   zip_file_cache_clear();
555555}
556556
557void FreeIfAllocated(char **s)
558{
559   if (*s)
560      global_free(*s);
561   *s = NULL;
562}
563
564557BOOL StringIsSuffixedBy(const char *s, const char *suffix)
565558{
566559   return (strlen(s) > strlen(suffix)) && (strcmp(s + strlen(s) - strlen(suffix), suffix) == 0);
src/osd/winui/mui_util.h
r7855r7856
5959
6060void FlushFileCaches(void);
6161
62void FreeIfAllocated(char **s);
63
6462BOOL StringIsSuffixedBy(const char *s, const char *suffix);
6563
6664BOOL SafeIsAppThemed(void);

Previous 15994 Revisions Next


© 1998-2018 The MESS Team