Andrew Talbot : serialui: Constify a variable.
Alexandre Julliard
julliard at wine.codeweavers.com
Thu Feb 22 05:56:38 CST 2007
Module: wine
Branch: master
Commit: 3399c81302cfccfbac33448d680586b26831c116
URL: http://source.winehq.org/git/wine.git/?a=commit;h=3399c81302cfccfbac33448d680586b26831c116
Author: Andrew Talbot <Andrew.Talbot at talbotville.com>
Date: Wed Feb 21 23:25:25 2007 +0000
serialui: Constify a variable.
---
dlls/serialui/confdlg.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/serialui/confdlg.c b/dlls/serialui/confdlg.c
index d6b8f1e..f9f306b 100644
--- a/dlls/serialui/confdlg.c
+++ b/dlls/serialui/confdlg.c
@@ -205,7 +205,7 @@ static BOOL SERIALUI_GetConfItems(HWND hDlg, DWORD id, LPCPARAM2STR table, LPDWO
* dcb.BaudRate. This code is to convert back and forth between CBR_ style
* and integers. The dialog box uses integer values.
*/
-static DWORD SERIALUI_BaudConvertTable[] = {
+static const DWORD SERIALUI_BaudConvertTable[] = {
CBR_110, 110, CBR_300, 300, CBR_600, 600, CBR_1200, 1200,
CBR_2400, 2400, CBR_4800, 4800, CBR_9600, 9600, CBR_14400, 14400,
CBR_19200, 19200, CBR_38400, 38400, CBR_56000, 56000, CBR_57600, 57600,
More information about the wine-cvs
mailing list