Browse Source

Fix windows error dialogs (#195)

pull/4/head
galaxyhaxz 8 years ago committed by GitHub
parent
commit
97360fca7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      Source/appfat.cpp
  2. 2
      Source/appfat.h

2
Source/appfat.cpp

@ -332,7 +332,7 @@ void __fastcall ErrDlg(int template_id, int error_code, char *log_file_path, int
TermMsg(0); TermMsg(0);
} }
bool __stdcall FuncDlg(HWND hDlg, UINT uMsg, WPARAM wParam, char *text) BOOL __stdcall FuncDlg(HWND hDlg, UINT uMsg, WPARAM wParam, char *text)
{ {
if ( uMsg == WM_INITDIALOG ) if ( uMsg == WM_INITDIALOG )
{ {

2
Source/appfat.h

@ -19,7 +19,7 @@ void __fastcall DDErrMsg(int error_code, int log_line_nr, char *log_file_path);
void __fastcall DSErrMsg(int error_code, int log_line_nr, char *log_file_path); void __fastcall DSErrMsg(int error_code, int log_line_nr, char *log_file_path);
void __fastcall center_window(HWND hDlg); void __fastcall center_window(HWND hDlg);
void __fastcall ErrDlg(int template_id, int error_code, char *log_file_path, int log_line_nr); void __fastcall ErrDlg(int template_id, int error_code, char *log_file_path, int log_line_nr);
bool __stdcall FuncDlg(HWND hDlg, UINT uMsg, WPARAM wParam, char *text); BOOL __stdcall FuncDlg(HWND hDlg, UINT uMsg, WPARAM wParam, char *text);
void __fastcall TextDlg(HWND hDlg, char *text); void __fastcall TextDlg(HWND hDlg, char *text);
void __fastcall ErrOkDlg(int template_id, int error_code, char *log_file_path, int log_line_nr); void __fastcall ErrOkDlg(int template_id, int error_code, char *log_file_path, int log_line_nr);
void __fastcall FileErrDlg(char *error); void __fastcall FileErrDlg(char *error);

Loading…
Cancel
Save