serialui: Constify a variable

Andrew Talbot Andrew.Talbot at talbotville.com
Wed Feb 21 17:25:25 CST 2007


Changelog:
    serialui: Constify a variable.

diff -urN a/dlls/serialui/confdlg.c b/dlls/serialui/confdlg.c
--- a/dlls/serialui/confdlg.c	2007-02-05 17:39:18.000000000 +0000
+++ b/dlls/serialui/confdlg.c	2007-02-21 23:12:48.000000000 +0000
@@ -205,7 +205,7 @@
  * 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-patches mailing list