Dmitry Timoshkov : msvcrt: Mark some data as constant.

Alexandre Julliard julliard at winehq.org
Wed May 28 04:56:52 CDT 2008


Module: wine
Branch: master
Commit: 5db7fd37067d44766078f3e056d64c151f414a3a
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=5db7fd37067d44766078f3e056d64c151f414a3a

Author: Dmitry Timoshkov <dmitry at codeweavers.com>
Date:   Tue May 27 21:58:52 2008 +0900

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}}},




More information about the wine-cvs mailing list