Skip to content

Commit 175b9e6

Browse files
committed
update uiresbuilder.exe
1 parent 87b7751 commit 175b9e6

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

tools/src/uiresbuilder/residbuilder.cpp

+3-8
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,13 @@
55
#include "tinyxml/tinyxml.h"
66

77
const wchar_t RB_HEADER_RC[]=
8-
L"/*<------------------------------------------------------------------------------------------------->*/\n"\
9-
L"/*该文件由uiresbuilder生成,请不要手动修改*/\n"\
108
L"/*<------------------------------------------------------------------------------------------------->*/\n"
119
L"#define DEFINE_UIRES(name, type, file_path)\\\n"
1210
L" name type file_path\n\n";
1311

1412
const wchar_t RB_HEADER_ID[]=
15-
L"/*<------------------------------------------------------------------------------------------------->*/\n"\
16-
L"/*该文件由uiresbuilder生成,请不要手动修改*/\n"\
13+
L"/*<------------------------------------------------------------------------------------------------->*/\n"
14+
L"/*该文件由uiresbuilder生成,请不要手动修改*/\n"
1715
L"/*<------------------------------------------------------------------------------------------------->*/\n";
1816

1917
const wchar_t ROBJ_DEF[] =
@@ -422,10 +420,7 @@ void ParseLayoutFile(const wchar_t * pszFileName,map<wstring,int> &mapName2ID,in
422420
//避免解析到skin结点
423421
if(stricmp(pXmlNode->Value(),"soui") == 0)
424422
ParseLayout(pXmlNode->FirstChildElement("root"),mapName2ID,nStartId);
425-
else if(stricmp(pXmlNode->Value(),"include") == 0
426-
|| stricmp(pXmlNode->Value(),"menu") == 0 //smenu
427-
|| stricmp(pXmlNode->Value(),"menuRoot") == 0 //smenuex
428-
)
423+
else
429424
ParseLayout(pXmlNode,mapName2ID,nStartId);
430425
}else
431426
{

tools/uiresbuilder.exe

-512 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)