[escher/text_input] insertTextAtLocation location parameter not const anymore

This commit is contained in:
Ruben Dashyan
2020-01-28 15:43:47 +01:00
committed by Léa Saviot
parent 742ee475ea
commit 09e1c2eb8b
6 changed files with 13 additions and 13 deletions

View File

@@ -170,7 +170,7 @@ void TextInput::setAlignment(float horizontalAlignment, float verticalAlignment)
contentView()->setAlignment(horizontalAlignment, verticalAlignment);
}
bool TextInput::insertTextAtLocation(const char * text, const char * location) {
bool TextInput::insertTextAtLocation(const char * text, char * location) {
if (contentView()->insertTextAtLocation(text, location)) {
/* We layout the scrollable view before scrolling to cursor because the
* content size might have changed. */