Skip to content

Commit

Permalink
fix windows
Browse files Browse the repository at this point in the history
  • Loading branch information
mgeplf committed Aug 30, 2024
1 parent 5083324 commit 00c147c
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/oc/mswinprt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,8 @@ void hoc_win_exec(void) {
i = (int) chkarg(2, -1000, 1000);
}
i = WinExec(gargstr(1), i);
ret();
pushx((double) i);
hoc_ret();
hoc_pushx((double) i);
}

void hoc_winio_show(int b) {}
Expand All @@ -154,17 +154,17 @@ int getpid() {

void hoc_Plt() {
TRY_GUI_REDIRECT_DOUBLE("plt", NULL);
ret();
pushx(0.);
hoc_ret();
hoc_pushx(0.);
}
void hoc_Setcolor() {
TRY_GUI_REDIRECT_DOUBLE("setcolor", NULL);
ret();
pushx(0.);
hoc_ret();
hoc_pushx(0.);
}
void hoc_Lw() {
ret();
pushx(0.);
hoc_ret();
hoc_pushx(0.);
}

#endif // MINGW

0 comments on commit 00c147c

Please sign in to comment.