fix TCHAR array initialization

svn path=/trunk/; revision=44996
This commit is contained in:
Martin Fuchs 2010-01-08 13:19:48 +00:00
parent 2aac7f8c6a
commit 449aa18843
2 changed files with 14 additions and 2 deletions

View file

@ -1,3 +1,15 @@
I noticed two things:
1) The painting isn't done quite properly in the top, right part (the
empty menu/toolbar area part) of the explorer when in SDI mode.
2) When you switch back and forth from SDI to MDI, the toolbar
settings (i.e., which ones to show) are not conserved.
I found these issues while running your explorer from Windows XP SP2's explorer.
- update problem in folders opened from the desktop in SDI mode
- Combobox to switch the second input field between "Filter" and "Command"
- rewrite autostart code and include all possible autostart locations
- read "DESCRIPT.ION" files to display file descriptions

View file

@ -154,8 +154,8 @@ MainFrameBase::MainFrameBase(HWND hwnd)
{
HDC hDC = GetDC(NULL);
#ifndef _NO_REBAR
//static WCHAR Title1[] = TEXT("Toolbar");
static WCHAR Title2[] = TEXT("Address :");
//static TCHAR Title1[] = TEXT("Toolbar");
static TCHAR Title2[] = TEXT("Address :");
#endif
if (hDC)