Skip to content

Commit 7446d7e

Browse files
authored
Fix compiler warning. (#66)
1 parent 66d69e9 commit 7446d7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/debugger/io-window.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ void TextRegBits(Emulator* e, u8 v, BitArg arg, Args... args) {
5555
ImGui::SameLine();
5656
ImGui::Text("%s", text);
5757
if (arg.tooltip && ImGui::IsItemHovered()) {
58-
ImGui::SetTooltip(arg.tooltip);
58+
ImGui::SetTooltip("%s", arg.tooltip);
5959
}
6060
}
6161
TextRegBits(e, v, args...);

0 commit comments

Comments
 (0)