Mercurial > mplayer.hg
view loader/wine/winestring.h @ 34679:6378e3a2ffb8
Revise listMgr() command URLLIST_ITEM_ADD.
Remove unnecessary variable is_added, replace gstrcmp() by strcmp(),
fix memory leakage by freeing list item that won't be added and change
return value to pointer to added item.
Additionally, insert some blank lines.
author | ib |
---|---|
date | Thu, 23 Feb 2012 13:07:49 +0000 |
parents | a8ea87c71d18 |
children | 494c251bd39e |
line wrap: on
line source
#ifndef MPLAYER_WINESTRING_H #define MPLAYER_WINESTRING_H #include "windef.h" LPWSTR WINAPI lstrcpyAtoW(LPWSTR,LPCSTR); LPSTR WINAPI lstrcpyWtoA(LPSTR,LPCWSTR); LPWSTR WINAPI lstrcpynAtoW(LPWSTR,LPCSTR,INT); LPSTR WINAPI lstrcpynWtoA(LPSTR,LPCWSTR,INT); #define lstrncmpiA strncasecmp #endif /* MPLAYER_WINESTRING_H */