aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorMax Horn2006-02-20 13:09:39 +0000
committerMax Horn2006-02-20 13:09:39 +0000
commit188cdf937d17c27ddd221178dcf9a0da7898b035 (patch)
treec5858870bbf0011a97f9e8aa585825b05724628c /common
parent1fb19714e24c2a3e73e45d026d7c12ab3202a421 (diff)
downloadscummvm-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
Diffstat (limited to 'common')
-rw-r--r--common/system.h9
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) {}