Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
ada881ce
Commit
ada881ce
authored
Nov 24, 2006
by
Vitaliy Margolen
Committed by
Alexandre Julliard
Nov 27, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winemenubuilder: Downgrade some ERR to WARN.
parent
d5ee6234
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
winemenubuilder.c
programs/winemenubuilder/winemenubuilder.c
+5
-4
No files found.
programs/winemenubuilder/winemenubuilder.c
View file @
ada881ce
...
...
@@ -278,7 +278,7 @@ static BOOL extract_icon32(LPCWSTR szFileName, int nIndex, const char *szXPMFile
hModule
=
LoadLibraryExW
(
szFileName
,
0
,
LOAD_LIBRARY_AS_DATAFILE
);
if
(
!
hModule
)
{
WINE_
ERR
(
"LoadLibraryExW (%s) failed, error %d
\n
"
,
WINE_
WARN
(
"LoadLibraryExW (%s) failed, error %d
\n
"
,
wine_dbgstr_w
(
szFileName
),
GetLastError
());
return
FALSE
;
}
...
...
@@ -327,7 +327,7 @@ static BOOL extract_icon32(LPCWSTR szFileName, int nIndex, const char *szXPMFile
}
else
{
WINE_
ERR
(
"found no icon
\n
"
);
WINE_
WARN
(
"found no icon
\n
"
);
FreeLibrary
(
hModule
);
return
FALSE
;
}
...
...
@@ -379,7 +379,7 @@ static int ExtractFromICO(LPCWSTR szFileName, const char *szXPMFileName)
if
(
fread
(
&
iconDir
,
sizeof
(
ICONDIR
),
1
,
fICOFile
)
!=
1
||
(
iconDir
.
idReserved
!=
0
)
||
(
iconDir
.
idType
!=
1
))
{
WINE_
ERR
(
"Invalid ico file format
\n
"
);
WINE_
WARN
(
"Invalid ico file format
\n
"
);
goto
error2
;
}
...
...
@@ -962,7 +962,8 @@ static BOOL InvokeShellLinker( IShellLinkW *sl, LPCWSTR link, BOOL bAgain )
WINE_WARN
(
"Unable to extract icon, deferring.
\n
"
);
goto
cleanup
;
}
WINE_ERR
(
"failed to extract icon.
\n
"
);
WINE_ERR
(
"failed to extract icon from %s
\n
"
,
wine_dbgstr_w
(
szIconPath
[
0
]
?
szIconPath
:
szPath
));
}
/* check the path */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment