Fix hotkeys for En.rc by Harteex, thx Tsk to found this bugs
Modified: trunk/reactos/lib/cpl/access/En.rc
_____
Modified: trunk/reactos/lib/cpl/access/En.rc
--- trunk/reactos/lib/cpl/access/En.rc 2005-10-07 21:48:12 UTC (rev
18315)
+++ trunk/reactos/lib/cpl/access/En.rc 2005-10-07 22:20:50 UTC (rev
18316)
@@ -10,17 +10,17 @@
BEGIN
GROUPBOX
"StickyKeys",-1,PROPSHEETPADDING,LABELLINE(1),PROPSHEETWIDTH-(2*PROPSHEE
TPADDING),LABELLINE(6)+PROPSHEETPADDING
LTEXT "Use StickyKeys if you want to use Shift, Ctrl, or Alt key by
pressing one key at at
time.",-1,(4*PROPSHEETPADDING)+ICONSIZE,LABELLINE(2),PROPSHEETWIDTH-(6*P
ROPSHEETPADDING)-ICONSIZE,LABELLINE(3)
- CHECKBOX "Use
StickyKeys",IDC_STICKY_BOX,(4*PROPSHEETPADDING),LABELLINE(5)+2,(15*PROPS
HEETPADDING),14
+ CHECKBOX "&Use
StickyKeys",IDC_STICKY_BOX,(4*PROPSHEETPADDING),LABELLINE(5)+2,(15*PROPS
HEETPADDING),14
PUSHBUTTON
"&Settings",IDC_STICKY_BUTTON,PROPSHEETWIDTH-(17*PROPSHEETPADDING),LABEL
LINE(5)+2,(15*PROPSHEETPADDING),14
GROUPBOX
"FilterKeys",-1,PROPSHEETPADDING,LABELLINE(8)+5,PROPSHEETWIDTH-(2*PROPSH
EETPADDING),LABELLINE(7)+2
LTEXT "Use FilterKeys if you want Reactos to ignore brief or repeated
keystrokes, or slow the repeat
rate.",-1,(4*PROPSHEETPADDING)+ICONSIZE,LABELLINE(10)-3,PROPSHEETWIDTH-(
6*PROPSHEETPADDING)-ICONSIZE,LABELLINE(3)
- CHECKBOX "Use
FilterKeys",IDC_FILTER_BOX,(4*PROPSHEETPADDING),LABELLINE(13)+2,(15*PROP
SHEETPADDING),14
- PUSHBUTTON
"&Settings",IDC_FILTER_BUTTON,PROPSHEETWIDTH-(17*PROPSHEETPADDING),LABEL
LINE(13)+2,(15*PROPSHEETPADDING),14
+ CHECKBOX "Use
&FilterKeys",IDC_FILTER_BOX,(4*PROPSHEETPADDING),LABELLINE(13)+2,(15*PRO
PSHEETPADDING),14
+ PUSHBUTTON
"S&ettings",IDC_FILTER_BUTTON,PROPSHEETWIDTH-(17*PROPSHEETPADDING),LABEL
LINE(13)+2,(15*PROPSHEETPADDING),14
GROUPBOX
"ToggleKeys",-1,PROPSHEETPADDING,LABELLINE(16)+3,PROPSHEETWIDTH-(2*PROPS
HEETPADDING),LABELLINE(6)+PROPSHEETPADDING
- LTEXT "Use ToggleKeys if you want to hear tones when pressing Caps
Lock, Num Lock, and Scroll
Lock.",-1,(4*PROPSHEETPADDING)+ICONSIZE,LABELLINE(18)-3,PROPSHEETWIDTH-(
6*PROPSHEETPADDING)-ICONSIZE,LABELLINE(2)
+ LTEXT "Use &ToggleKeys if you want to hear tones when pressing Caps
Lock, Num Lock, and Scroll
Lock.",-1,(4*PROPSHEETPADDING)+ICONSIZE,LABELLINE(18)-3,PROPSHEETWIDTH-(
6*PROPSHEETPADDING)-ICONSIZE,LABELLINE(2)
CHECKBOX "Use
ToggleKeys",IDC_TOGGLE_BOX,(4*PROPSHEETPADDING),LABELLINE(20)+2,PROPSHEE
TWIDTH-(6*PROPSHEETPADDING)-ICONSIZE,LABELLINE(2)
- PUSHBUTTON
"&Settings",IDC_TOGGLE_BUTTON,PROPSHEETWIDTH-(17*PROPSHEETPADDING),LABEL
LINE(20)+2,(15*PROPSHEETPADDING),14
-// CHECKBOX "Show extra keyboard help in programs",IDC_KEYBOARD_EXTRA
+ PUSHBUTTON
"Setti&ngs",IDC_TOGGLE_BUTTON,PROPSHEETWIDTH-(17*PROPSHEETPADDING),LABEL
LINE(20)+2,(15*PROPSHEETPADDING),14
+// CHECKBOX "Sho&w extra keyboard help in programs",IDC_KEYBOARD_EXTRA
END
Allocate memory even for NULL strings, as we must not return a NULL
pointer
Modified: trunk/reactos/drivers/bus/pci/pdo.c
_____
Modified: trunk/reactos/drivers/bus/pci/pdo.c
--- trunk/reactos/drivers/bus/pci/pdo.c 2005-10-07 13:09:23 UTC (rev
18309)
+++ trunk/reactos/drivers/bus/pci/pdo.c 2005-10-07 15:47:17 UTC (rev
18310)
@@ -107,8 +107,11 @@
break;
case BusQueryInstanceID:
+ /* FIXME: RTL_DUPLICATE_UNICODE_STRING_ALLOCATE_NULL_STRING flag
+ * needs to be removed once PciCreateInstanceIDString is fixed
+ */
Status = RtlDuplicateUnicodeString(
- RTL_DUPLICATE_UNICODE_STRING_NULL_TERMINATE,
+ RTL_DUPLICATE_UNICODE_STRING_NULL_TERMINATE |
RTL_DUPLICATE_UNICODE_STRING_ALLOCATE_NULL_STRING,
&DeviceExtension->InstanceID,
&String);