diff options
Diffstat (limited to 'CPP/7zip/UI/FileManager/RootFolder.h')
-rw-r--r-- | CPP/7zip/UI/FileManager/RootFolder.h | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/CPP/7zip/UI/FileManager/RootFolder.h b/CPP/7zip/UI/FileManager/RootFolder.h index e9ef2d8c..e2537837 100644 --- a/CPP/7zip/UI/FileManager/RootFolder.h +++ b/CPP/7zip/UI/FileManager/RootFolder.h @@ -7,21 +7,15 @@ #include "IFolder.h" -const int kNumRootFolderItems = - #ifdef UNDER_CE - 1 - #else - 4 - #endif - ; +const unsigned kNumRootFolderItems_Max = 4; class CRootFolder: public IFolderFolder, public IFolderGetSystemIconIndex, public CMyUnknownImp { - UString _names[kNumRootFolderItems]; - int _iconIndices[kNumRootFolderItems]; + UString _names[kNumRootFolderItems_Max]; + int _iconIndices[kNumRootFolderItems_Max]; public: MY_UNKNOWN_IMP1(IFolderGetSystemIconIndex) |