Skip to content

Commit

Permalink
tedit のコンパイルエラーを修正
Browse files Browse the repository at this point in the history
  • Loading branch information
uchan-nos committed Aug 18, 2022
1 parent 27ccb65 commit c344eaa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/tedit/tedit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ DialogHitCheckResult DialogHitCheck(int dx, int dy, int mx, int my) {
return DialogHitCheckResult::NONE;
}

extern "C" void main(int argc, char** argv) {
int main(int argc, char** argv) {
int width = 80, height = 20, tab_size = 8;
char* file_name = NULL;
bool is_error = false;
Expand Down Expand Up @@ -841,5 +841,5 @@ extern "C" void main(int argc, char** argv) {
}
}
SyscallCloseWindow(hwnd);
exit(ret);
return ret;
}

0 comments on commit c344eaa

Please sign in to comment.