diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-11-21 20:55:10 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-11-22 10:24:18 +0000 |
commit | 5c74680a377f6f55b136b2ab406b1608a215f432 (patch) | |
tree | a43a4cd9c0c8178789e79b6f8fdc307305daa484 /vcl/source | |
parent | b8adb1e66085d39014ad26593097eb16a8fb59df (diff) |
use MNEMONIC_CHAR define
Change-Id: I824bd1ad981e0b37e273a054e2a64cb500776180
Diffstat (limited to 'vcl/source')
-rw-r--r-- | vcl/source/window/window2.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/vcl/source/window/window2.cxx b/vcl/source/window/window2.cxx index be8c8baf5056..c0d013d9c518 100644 --- a/vcl/source/window/window2.cxx +++ b/vcl/source/window/window2.cxx @@ -28,6 +28,7 @@ #include <vcl/layout.hxx> #include <vcl/timer.hxx> #include <vcl/metric.hxx> +#include <vcl/mnemonic.hxx> #include <vcl/virdev.hxx> #include <vcl/window.hxx> #include <vcl/scrbar.hxx> @@ -1967,7 +1968,7 @@ namespace if (aRet[nI] == '_') { if (aRet[nI+1] != '_') - aRet[nI] = '~'; + aRet[nI] = MNEMONIC_CHAR; else aRet.remove(nI, 1); ++nI; |