[Wine-patches] [eterhack eter-2.0.0 2/2] Use etercheck_process_name (eterbug #8453).
Alexander Morozov
amorozov на etersoft.ru
Вт Май 15 22:30:59 MSK 2012
---
dlls/winex11.drv/window.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/dlls/winex11.drv/window.c b/dlls/winex11.drv/window.c
index 5c2c3cb..9167672 100644
--- a/dlls/winex11.drv/window.c
+++ b/dlls/winex11.drv/window.c
@@ -48,6 +48,7 @@
#include "wine/server.h"
#include "mwm.h"
+#define ETERCHECK
#include "wine/etersoft.h"
DEFETER_FUNC(etersoft_1version);
@@ -1375,7 +1376,7 @@ static void set_wm_hints( Display *display, struct x11drv_win_data *data )
ex_style = GetWindowLongW( data->hwnd, GWL_EXSTYLE );
/* HACK for eterbug #5671 */
- if (strcasestr( __wine_main_argv[0], "sbis" ))
+ if (etercheck_process_name( "sbis.exe" ))
{
HWND temp;
--
1.7.9.7
Подробная информация о списке рассылки Wine-patches