diff --git a/uppsrc/CtrlCore/X11App.cpp b/uppsrc/CtrlCore/X11App.cpp index 8110b3e1f..e7d35c1df 100644 --- a/uppsrc/CtrlCore/X11App.cpp +++ b/uppsrc/CtrlCore/X11App.cpp @@ -124,8 +124,8 @@ Vector GetPropertyInts(Window w, Atom property, Atom rtype) Vector result; String p = GetProperty(w, property, rtype); const long int *ptr = (const long int *)~p; - const long int *lim = ptr + p.GetLength() / 4; - result.Reserve(p.GetLength() / 4); + const long int *lim = ptr + p.GetLength() / sizeof(long int); + result.Reserve(p.GetLength() / sizeof(long int)); while(ptr < lim) result.Add(*ptr++); return result; diff --git a/uppsrc/CtrlCore/init b/uppsrc/CtrlCore/init index 7650143fb..a7248578f 100644 --- a/uppsrc/CtrlCore/init +++ b/uppsrc/CtrlCore/init @@ -3,7 +3,7 @@ #include "Draw/init" #include "plugin\bmp/init" #include "RichText/init" -#define BLITZ_INDEX__ F80D5AB9C140C53FA4A54CDF51E828146 +#define BLITZ_INDEX__ FB8F4A982C72471DC245DDFAE3ACBB156 #include "CtrlCore.icpp" #undef BLITZ_INDEX__ #endif