Update TinyTextEditor: remove unused scrollbar in console.

git-svn-id: svn://kolibrios.org@8121 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
maxcodehack 2020-10-30 08:38:44 +00:00
parent 609e822a2b
commit 4bdf135569

View File

@ -94,7 +94,7 @@ struct editor_syntax {
char** file_match; char** file_match;
// This will be a NULL-terminated array of strings, each string containing // This will be a NULL-terminated array of strings, each string containing
// a keyword. To differentiate between the two types of keywords, // a keyword. To differentiate between the two types of keywords,
// well terminate the second type of keywords with a pipe (|) // we'll terminate the second type of keywords with a pipe (|)
// character (also known as a vertical bar). // character (also known as a vertical bar).
char** keywords; char** keywords;
// We let each language specify its own single-line comment pattern. // We let each language specify its own single-line comment pattern.
@ -1763,8 +1763,7 @@ int handleArgs(int argc, char* argv[]) {
} }
int main(int argc, char* argv[]) { int main(int argc, char* argv[]) {
if (con_init_console_dll()) return 1; // init fail con_init_console_dll_param(con_def_wnd_width, con_def_wnd_height, con_def_wnd_width, con_def_wnd_height, "TinyTextEditor");
con_set_title("TinyTextEditor");
initEditor(); initEditor();
int arg_response = handleArgs(argc, argv); int arg_response = handleArgs(argc, argv);
if (arg_response == 1) { if (arg_response == 1) {