Change of string

pull/30/head
E. Almqvist 3 years ago
parent 46c231a4c5
commit d95dcc2e17
  1. 4
      kernel/kernel.c

@ -15,8 +15,8 @@ void main() {
printalign(subtitle, 0xf8, MIDDLE); printalign(subtitle, 0xf8, MIDDLE);
char* strbuf = "Hello"; char* strbuf = "String concat: ";
char* str2 = "World!"; char* str2 = "WORKS! :D";
strbuf = strcat(strbuf, str2); strbuf = strcat(strbuf, str2);
set_cursor_pos(0, 0); set_cursor_pos(0, 0);
println(strbuf, 0xf0); println(strbuf, 0xf0);

Loading…
Cancel
Save