diff options
author | Max Horn | 2006-02-20 13:09:39 +0000 |
---|---|---|
committer | Max Horn | 2006-02-20 13:09:39 +0000 |
commit | 188cdf937d17c27ddd221178dcf9a0da7898b035 (patch) | |
tree | c5858870bbf0011a97f9e8aa585825b05724628c | |
parent | 1fb19714e24c2a3e73e45d026d7c12ab3202a421 (diff) | |
download | scummvm-rg350-188cdf937d17c27ddd221178dcf9a0da7898b035.tar.gz scummvm-rg350-188cdf937d17c27ddd221178dcf9a0da7898b035.tar.bz2 scummvm-rg350-188cdf937d17c27ddd221178dcf9a0da7898b035.zip |
Clarified that OSystem::setWindowCaption currently only supports ASCII captions
svn-id: r20780
-rw-r--r-- | common/system.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/common/system.h b/common/system.h index 2b40e86abb..115b9e7afa 100644 --- a/common/system.h +++ b/common/system.h @@ -896,8 +896,13 @@ public: /** * Set a window caption or any other comparable status display to the - * given value. - * @param caption the window caption to use from now on + * given value. The caption must be a pure ASCII string. Passing a + * non-ASCII string may lead to unexpected behavior, even crashes. + * + * In a future revision of this API, this may be changed to allowing + * UTF-8 or UTF-16 encoded data, or maybe ISO LATIN 1. + * + * @param caption the window caption to use, as an ASCII string */ virtual void setWindowCaption(const char *caption) {} |