diff options
| author | Maxime Coste <mawww@kakoune.org> | 2017-09-12 11:31:57 +0800 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2017-09-12 11:31:57 +0800 |
| commit | 63b1d0c353ad8762c4eb5d7e494baf6e163ca1f7 (patch) | |
| tree | c83ff841f4957875fae8cea2ad9c844be7a2a8d4 /src/json_ui.cc | |
| parent | 90ab5ff93b7d4b67fc74a7e48c1c133c36f77f40 (diff) | |
Rename some string conversion function to the common 'to_string'
Diffstat (limited to 'src/json_ui.cc')
| -rw-r--r-- | src/json_ui.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/json_ui.cc b/src/json_ui.cc index 8f4d4663..ca7d3109 100644 --- a/src/json_ui.cc +++ b/src/json_ui.cc @@ -68,7 +68,7 @@ String to_json(Color color) sprintf(buffer, R"("#%02x%02x%02x")", color.r, color.g, color.b); return buffer; } - return to_json(color_to_str(color)); + return to_json(to_string(color)); } String to_json(Attribute attributes) |
