From 4bdf13556902357a4a105edc89b5b487ef610673 Mon Sep 17 00:00:00 2001 From: maxcodehack Date: Fri, 30 Oct 2020 08:38:44 +0000 Subject: [PATCH] Update TinyTextEditor: remove unused scrollbar in console. git-svn-id: svn://kolibrios.org@8121 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/other/tte/tte.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/programs/other/tte/tte.c b/programs/other/tte/tte.c index f5dfdfcee..83c6acacf 100644 --- a/programs/other/tte/tte.c +++ b/programs/other/tte/tte.c @@ -94,7 +94,7 @@ struct editor_syntax { char** file_match; // This will be a NULL-terminated array of strings, each string containing // a keyword. To differentiate between the two types of keywords, - // we’ll 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). char** keywords; // 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[]) { - if (con_init_console_dll()) return 1; // init fail - con_set_title("TinyTextEditor"); + con_init_console_dll_param(con_def_wnd_width, con_def_wnd_height, con_def_wnd_width, con_def_wnd_height, "TinyTextEditor"); initEditor(); int arg_response = handleArgs(argc, argv); if (arg_response == 1) {