comctl32: Add a trailing '\n' to a Wine trace.
[wine] / dlls / uxtheme / uxini.c
index 8adb085..a2dfabf 100644 (file)
@@ -15,7 +15,7 @@
  *
  * You should have received a copy of the GNU Lesser General Public
  * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  */
 
 #include "config.h"
@@ -68,7 +68,7 @@ PUXINI_FILE UXINI_LoadINI(HMODULE hTheme, LPCWSTR lpName) {
     TRACE("Loading resource INI %s\n", debugstr_w(lpName));
 
     if((hrsc = FindResourceW(hTheme, lpName, szTextFileResource))) {
-        if(!(lpThemesIni = (LPCWSTR)LoadResource(hTheme, hrsc))) {
+        if(!(lpThemesIni = LoadResource(hTheme, hrsc))) {
             TRACE("%s resource not found\n", debugstr_w(lpName));
             return NULL;
         }
@@ -95,19 +95,6 @@ void UXINI_CloseINI(PUXINI_FILE uf)
     HeapFree(GetProcessHeap(), 0, uf);
 }
 
-/**********************************************************************
- *      UXINI_ResetINI
- *
- * Reset the current pointer into INI file to the beginning of the file
- *
- * PARAMS
- *     uf                  Theme INI file to reset
- */
-void UXINI_ResetINI(PUXINI_FILE uf)
-{
-    uf->lpCurLoc = uf->lpIni;
-}
-
 /**********************************************************************
  *      UXINI_eof
  *
@@ -149,7 +136,7 @@ static inline BOOL UXINI_isspace(WCHAR c)
  * RETURNS
  *     The section name, non NULL terminated
  */
-LPCWSTR UXINI_GetNextLine(PUXINI_FILE uf, DWORD *dwLen)
+static LPCWSTR UXINI_GetNextLine(PUXINI_FILE uf, DWORD *dwLen)
 {
     LPCWSTR lpLineEnd;
     LPCWSTR lpLineStart;
@@ -212,7 +199,6 @@ LPCWSTR UXINI_GetNextSection(PUXINI_FILE uf, DWORD *dwLen)
  *
  * Locate a section with the specified name, search starts
  * at current location in ini file
- * to start search from start, call UXINI_ResetINI
  *
  * PARAMS
  *     uf                  INI file to search, search starts at current location