winemenubuilder: Do not WINE_ERR in InvokeShellLinker if we are
going to try again.
Misha Koshelev
mk144210 at bcm.edu
Thu Jun 28 19:47:59 CDT 2007
When we are here, r is nonzero and bWait is TRUE, there are two possibilities:
1) r is nonzero b/c the parent process created the shortcut before its icon. In this case,
when we try again we will succeed, and the error here is misleading at best. (If we are tracing
+menubuilder, we will see WARN messages that inform us of the icon failure and a TRACE message that
we are waiting which should be sufficient).
2) r is nonzero for some other reason. In this case, we will fail again after the wait, and
there is no need to display the same error twice.
---
programs/winemenubuilder/winemenubuilder.c | 7 ++-----
1 files changed, 2 insertions(+), 5 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 5637f7aa47be3a67d360b1f72617410d64b8e4b3.diff
Type: text/x-patch
Size: 618 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20070628/95ceb046/5637f7aa47be3a67d360b1f72617410d64b8e4b3-0001.bin
More information about the wine-patches
mailing list