mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-18 01:42:38 +01:00
Codechange: Use std::string_view in IME input handling.
This commit is contained in:
@@ -813,7 +813,7 @@ Point QueryString::GetCaretPosition(const Window *w, WidgetID wid) const
|
||||
* @param to End of the string range.
|
||||
* @return Rectangle encompassing the string range, relative to the window.
|
||||
*/
|
||||
Rect QueryString::GetBoundingRect(const Window *w, WidgetID wid, const char *from, const char *to) const
|
||||
Rect QueryString::GetBoundingRect(const Window *w, WidgetID wid, size_t from, size_t to) const
|
||||
{
|
||||
const NWidgetLeaf *wi = w->GetWidget<NWidgetLeaf>(wid);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user