Skip to content

Commit

Permalink
rc: Modify the ICON default flags
Browse files Browse the repository at this point in the history
  • Loading branch information
bwrsandman committed Jan 4, 2025
1 parent 313484f commit a0a06d9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ jobs:
run: cmake -Bbuild -Sllvm -G Ninja -DCMAKE_BUILD_TYPE=Release -DLLVM_TARGETS_TO_BUILD=X86 -DLLVM_ENABLE_PROJECTS="lld;clang"
- name: Build clang
run: cmake --build build --target clang
- name: Build llvm-rc
run: cmake --build build --target llvm-rc
- name: Build lld
run: cmake --build build --target lld
- name: Upload Artifact
Expand Down
2 changes: 1 addition & 1 deletion llvm/tools/llvm-rc/ResourceScriptStmt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ const StringMap<Control::CtlInfo> Control::SupportedCtls = {
{"LTEXT", CtlInfo{0x50020000, ClsStatic, true}},
{"CTEXT", CtlInfo{0x50020001, ClsStatic, true}},
{"RTEXT", CtlInfo{0x50020002, ClsStatic, true}},
{"ICON", CtlInfo{0x50000003, ClsStatic, true}},
{"ICON", CtlInfo{0x50000002, ClsStatic, true}},
{"PUSHBUTTON", CtlInfo{0x50010000, ClsButton, true}},
{"DEFPUSHBUTTON", CtlInfo{0x50010001, ClsButton, true}},
{"AUTO3STATE", CtlInfo{0x50010006, ClsButton, true}},
Expand Down

0 comments on commit a0a06d9

Please sign in to comment.