diff options
author | Andrzej Rybczak <electricityispower@gmail.com> | 2009-06-04 11:56:47 +0200 |
---|---|---|
committer | Andrzej Rybczak <electricityispower@gmail.com> | 2009-06-04 11:56:47 +0200 |
commit | 5cbc6dfb5ba2bc6692a3789c1ea634d4fd1e2735 (patch) | |
tree | d64d81e2e0bafa8e712255a9062b9c5356d3119f /src/helpers.cpp | |
parent | 0a275f31d1e35cd07ccc20c5cb7dc34a40f9688f (diff) |
use "str" as parameter, not "string"
I wonder why compiler accepted that.
Diffstat (limited to 'src/helpers.cpp')
-rw-r--r-- | src/helpers.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/helpers.cpp b/src/helpers.cpp index bfa4ed08..363a3e65 100644 --- a/src/helpers.cpp +++ b/src/helpers.cpp @@ -328,11 +328,11 @@ const Buffer &ShowTag(const string &tag) return result; } -const std::basic_string<my_char_t> &Scroller(const string &string, size_t width, size_t &pos) +const std::basic_string<my_char_t> &Scroller(const string &str, size_t width, size_t &pos) { static std::basic_string<my_char_t> result; result.clear(); - std::basic_string<my_char_t> s = TO_WSTRING(string); + std::basic_string<my_char_t> s = TO_WSTRING(str); size_t len; # ifdef _UTF8 len = Window::Length(s); |