mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
Clean warnings (comparison signed and unsigned)
This commit is contained in:
committed by
EmilieNumworks
parent
ae086adfcf
commit
06ace4369c
@@ -91,7 +91,7 @@ bool TextField::ContentView::insertTextAtLocation(const char * text, int locatio
|
||||
m_draftTextBuffer[location+textSize-1] = text[textSize-1];
|
||||
}
|
||||
m_currentDraftTextLength += textSize;
|
||||
for (int i = 0; i < m_currentDraftTextLength; i++) {
|
||||
for (size_t i = 0; i < m_currentDraftTextLength; i++) {
|
||||
if (m_draftTextBuffer[i] == '\n') {
|
||||
m_draftTextBuffer[i] = 0;
|
||||
m_currentDraftTextLength = i;
|
||||
|
||||
Reference in New Issue
Block a user