diff options
Diffstat (limited to 'win32')
-rw-r--r-- | win32/process.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/process.c b/win32/process.c index 3219fcad4..b9168ba1d 100644 --- a/win32/process.c +++ b/win32/process.c | |||
@@ -471,7 +471,7 @@ static char *get_applet_name(DWORD pid, char *exe) | |||
471 | 471 | ||
472 | /* check that the string really is an applet name */ | 472 | /* check that the string really is an applet name */ |
473 | buffer[31] = '\0'; | 473 | buffer[31] = '\0'; |
474 | if (find_applet_by_name(buffer) >= 0) { | 474 | if (find_applet_by_name(buffer) >= 0 || !strcmp(buffer, "[sh]")) { |
475 | name = auto_string(xstrdup(buffer)); | 475 | name = auto_string(xstrdup(buffer)); |
476 | } | 476 | } |
477 | 477 | ||