diff --git a/addons/core/XEH_postInit.sqf b/addons/core/XEH_postInit.sqf index 434c8036c3..66d14ab05e 100644 --- a/addons/core/XEH_postInit.sqf +++ b/addons/core/XEH_postInit.sqf @@ -48,9 +48,9 @@ call COMPILE_FILE2(scripts\KeyInput\initScrollWheel.sqf); 0 spawn { while {true} do { waitUntil {!isNull (findDisplay 46)}; sleep 0.1; - findDisplay 46 displayAddEventHandler ["KeyDown", QUOTE( _this call QUOTE(QGVAR(onKeyDown)) )]; - findDisplay 46 displayAddEventHandler ["KeyUp", QUOTE( _this call QUOTE(QGVAR(onKeyUp)) )]; - findDisplay 46 displayAddEventHandler ["MouseZChanged", QUOTE( _this call QUOTE(QGVAR(onScrollWheel)) )]; + findDisplay 46 displayAddEventHandler ["KeyDown", QUOTE( _this call GVAR(onKeyDown) )]; + findDisplay 46 displayAddEventHandler ["KeyUp", QUOTE( _this call GVAR(onKeyUp) )]; + findDisplay 46 displayAddEventHandler ["MouseZChanged", QUOTE( _this call GVAR(onScrollWheel) )]; [false] call FUNC(disableUserInput); waitUntil {isNull (findDisplay 46)}; }; diff --git a/addons/core/functions/fnc_progressBar.sqf b/addons/core/functions/fnc_progressBar.sqf index f4afd77ab7..891ad5edaa 100644 --- a/addons/core/functions/fnc_progressBar.sqf +++ b/addons/core/functions/fnc_progressBar.sqf @@ -52,7 +52,7 @@ _this spawn { if (time > _time) then { _arguments call _function; } else { - [localize QOUTE(DOUBLES(STR,GVAR(ActionAborted)))] call FUNC(displayTextStructured); + [localize QUOTE(DOUBLES(STR,GVAR(ActionAborted)))] call FUNC(displayTextStructured); if (!isNil "_function2") then { _progress = 1 - ((_time - time) / (_this select 0)) max 0 min 1; _arguments call _function2;