Skip to content

Commit

Permalink
feat(extern.hpp): 优化 Continue() 返回逻辑
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxLHy0424 committed Jun 17, 2024
1 parent d7102c0 commit 58fe87a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extern.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ bool Continue(){
}
printf("输入错误, 请重试: ");
}
return ((Dat[1]=='Y'||Dat[1]=='y')?(true):(false));
return ((bool)(Dat[1]=='Y'||Dat[1]=='y'));
}
void PinWnd(){
HWND foreWnd{GetForegroundWindow()};
Expand Down

0 comments on commit 58fe87a

Please sign in to comment.