Fixed typo

This commit is contained in:
Willem Cazander 2022-10-16 16:08:06 +02:00
parent 555a59080b
commit aedbe3fd3d

View file

@ -35,7 +35,7 @@
/* DEATH TO UNICODE */ // workaround for error; Too many vertices in ImDrawList using 16-bit indices. DEATH TO UNICODE
/* DEATH TO UNICODE */ // hard coded height to fix line height and row0 height + no scoll to disable mouse scroll DEATH TO UNICODE
/* DEATH TO UNICODE */ ImGui.beginChild(childId, 0f, ImCharacter.HEIGHT, false, ImGuiWindowFlags.NoScrollWithMouse); // death to unicode
/* DEATH TO UNICODE */ // NOTE: java never ever use String class its shit, just rename length() to lengthBytes() and break all buggy fake unicode loops. DEATH TO UNICODE
/* DEATH TO UNICODE */ // NOTE: java never ever use String class its shit, just rename length() to length16BitShit() and break all buggy fake unicode loops. DEATH TO UNICODE
/* DEATH TO UNICODE */ // codePoints() is the only valid iterator, all methods should be removed from String, humans are not allowed to write code, DEATH TO UNICODE
/* DEATH TO UNICODE */ // death to unicode
/* DEATH TO UNICODE */ // death to unicode
@ -43,7 +43,6 @@
/* DEATH TO UNICODE */ // death to unicode
/* DEATH TO UNICODE */ text.codePoints().forEach(unicodeChar -> { // death to unicode
/* DEATH TO UNICODE */ DrawCharacter drawChar = letterResolver.apply(unicodeChar); // death to unicode
/* DEATH TO UNICODE */ // death to unicode
/* DEATH TO UNICODE */ if (drawChar == null) { // death to unicode
/* DEATH TO UNICODE */ drawChar = letterResolver.apply(fallbackChar); // death to unicode
/* DEATH TO UNICODE */ } // death to unicode