start using message boxes for errors

master
Allen Webster 2016-08-31 14:40:22 -04:00
parent a7feb7052c
commit 2050e42f5b
4 changed files with 9 additions and 5 deletions

View File

@ -914,7 +914,7 @@ compare_ss(String a, String b){
r = (a.str[i] > b.str[i]) - (b.str[i] > a.str[i]); r = (a.str[i] > b.str[i]) - (b.str[i] > a.str[i]);
} }
else{ else{
r = (a.size > b.size) - (a.size < b.size); r = (a.size > b.size) - (b.size > a.size);
} }
return(r); return(r);

View File

@ -71,12 +71,12 @@
; [X] paste snaps the cursor back into view! ; [X] paste snaps the cursor back into view!
; [X] clean whitespace doesn't appear to be cleaning trailing whitespace anymore??? ; [X] clean whitespace doesn't appear to be cleaning trailing whitespace anymore???
; [X] problem with end of line comments ; [X] problem with end of line comments
; [X] paths with parens in them
; ;
; [] indication on failure to save ; [] indication on failure to save
; [] history is broken, revist the entire system ; [] history is broken, revist the entire system
; ;
; [] 8.0\Include\um\dsound.h (not reproduced, get more info) ; [] 8.0\Include\um\dsound.h (not reproduced, get more info)
; [] paths with parens in them
; [] paste external text from bug report (in email) (not reproduced, get more info) ; [] paste external text from bug report (in email) (not reproduced, get more info)
; ;
; ;
@ -85,6 +85,7 @@
; ;
; [] tokens in the custom API ; [] tokens in the custom API
; [] auto indent on the custom side ; [] auto indent on the custom side
; [] expose dirty flags
; [] option to not open *messages* every startup ; [] option to not open *messages* every startup
; [] command for resizing panels ; [] command for resizing panels
; [] control over how mouse effects panel focus ; [] control over how mouse effects panel focus
@ -95,6 +96,9 @@
; [] hook on exit ; [] hook on exit
; [] exit command ; [] exit command
; [] read only files ; [] read only files
; [] break down the build system and get away from the preproc hack
; [] locking to a view for next position jumping
; [] flag in create buffer to prevent making new files
; ;
; TODOS ; TODOS

View File

@ -600,7 +600,7 @@ and positive if a sorts after b alphabetically.) */{
r = (a.str[i] > b.str[i]) - (b.str[i] > a.str[i]); r = (a.str[i] > b.str[i]) - (b.str[i] > a.str[i]);
} }
else{ else{
r = (a.size > b.size) - (a.size < b.size); r = (a.size > b.size) - (b.size > a.size);
} }
return(r); return(r);

View File

@ -2041,7 +2041,7 @@ WinMain(HINSTANCE hInstance,
if (win32vars.custom_api.get_alpha_4coder_version == 0 || if (win32vars.custom_api.get_alpha_4coder_version == 0 ||
win32vars.custom_api.get_alpha_4coder_version(MAJOR, MINOR, PATCH) == 0){ win32vars.custom_api.get_alpha_4coder_version(MAJOR, MINOR, PATCH) == 0){
OutputDebugStringA("Error: application and custom version numbers don't match\n"); MessageBoxA(0,"Error: The application and custom version numbers don't match.\n", "Error",0);
exit(1); exit(1);
} }
win32vars.custom_api.get_bindings = (Get_Binding_Data_Function*) win32vars.custom_api.get_bindings = (Get_Binding_Data_Function*)
@ -2056,7 +2056,7 @@ WinMain(HINSTANCE hInstance,
} }
if (win32vars.custom_api.get_bindings == 0){ if (win32vars.custom_api.get_bindings == 0){
OutputDebugStringA("Error: 4coder_custom.dll is missing\n"); MessageBoxA(0,"Error: The custom dll is missing.\n", "Error",0);
exit(1); exit(1);
} }