msvcrt: Mark some data as constant
Dmitry Timoshkov
dmitry at codeweavers.com
Tue May 27 07:58:52 CDT 2008
Hello,
Changelog:
msvcrt: Mark some data as constant.
---
dlls/msvcrt/console.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/msvcrt/console.c b/dlls/msvcrt/console.c
index c0549d2..ab1cd94 100644
--- a/dlls/msvcrt/console.c
+++ b/dlls/msvcrt/console.c
@@ -82,7 +82,7 @@ int CDECL _cputs(const char* str)
#define CTRL_CHAR 2
#define SHIFT_CHAR 3
-static struct {unsigned vk; unsigned ch[4][2];} enh_map[] = {
+static const struct {unsigned vk; unsigned ch[4][2];} enh_map[] = {
{0x47, {{0xE0, 0x47}, {0x00, 0x97}, {0xE0, 0x77}, {0xE0, 0x47}}},
{0x48, {{0xE0, 0x48}, {0x00, 0x98}, {0xE0, 0x8D}, {0xE0, 0x48}}},
{0x49, {{0xE0, 0x49}, {0x00, 0x99}, {0xE0, 0x86}, {0xE0, 0x49}}},
--
1.5.5.2
More information about the wine-patches
mailing list