diff --git a/Sandboxie/core/dll/guititle.c b/Sandboxie/core/dll/guititle.c index 40d0a3ed..1a0b174b 100644 --- a/Sandboxie/core/dll/guititle.c +++ b/Sandboxie/core/dll/guititle.c @@ -291,11 +291,6 @@ _FX int Gui_FixTitleW(HWND hWnd, WCHAR *lpWindowTitle, int len) { if (len >= (int)Gui_TitleSuffixW_len * 2 && Gui_ShouldCreateTitle(hWnd)) { - if (SbieApi_QueryConfBool(NULL, "NoTitle", FALSE)) { - lpWindowTitle[0] = '\0'; - len = 0; - return len; - } if (wmemcmp(lpWindowTitle, &Gui_TitleSuffixW[1], 3) == 0) { len -= 4; wmemmove(lpWindowTitle, lpWindowTitle + 4, len); @@ -330,11 +325,6 @@ _FX int Gui_FixTitleA(HWND hWnd, UCHAR *lpWindowTitle, int len) { if (len >= (int)Gui_TitleSuffixA_len * 2 && Gui_ShouldCreateTitle(hWnd)) { - if (SbieApi_QueryConfBool(NULL, "NoTitle", FALSE)) { - lpWindowTitle[0] = '\0'; - len = 0; - return len; - } if (memcmp(lpWindowTitle, &Gui_TitleSuffixA[1], 3) == 0) { len -= 4; memmove(lpWindowTitle, lpWindowTitle + 4, len);