diff options
author | Igor Pavlov <ipavlov@users.sourceforge.net> | 2015-12-31 03:00:00 +0300 |
---|---|---|
committer | Kornel LesiĆski <kornel@geekhood.net> | 2016-05-28 02:16:58 +0300 |
commit | 9608215ad8deb58355bae27692669fda067c4f43 (patch) | |
tree | 1227131a3f19bc36e5da4ba11791154d05cc08af /C | |
parent | 5de23c1deb52b8be4c43ad9f694c64bbddd0c38a (diff) |
15.1315.13
Diffstat (limited to 'C')
-rw-r--r-- | C/7zVersion.h | 8 | ||||
-rw-r--r-- | C/CpuArch.h | 4 | ||||
-rw-r--r-- | C/Util/7zipInstall/7zipInstall.c | 7 | ||||
-rw-r--r-- | C/Util/7zipUninstall/7zipUninstall.c | 10 |
4 files changed, 18 insertions, 11 deletions
diff --git a/C/7zVersion.h b/C/7zVersion.h index 2975c81f..3e5c9bd5 100644 --- a/C/7zVersion.h +++ b/C/7zVersion.h @@ -1,9 +1,9 @@ #define MY_VER_MAJOR 15 -#define MY_VER_MINOR 12 +#define MY_VER_MINOR 13 #define MY_VER_BUILD 0 -#define MY_VERSION_NUMBERS "15.12" -#define MY_VERSION "15.12" -#define MY_DATE "2015-11-19" +#define MY_VERSION_NUMBERS "15.13" +#define MY_VERSION "15.13" +#define MY_DATE "2015-12-31" #undef MY_COPYRIGHT #undef MY_VERSION_COPYRIGHT_DATE #define MY_AUTHOR_NAME "Igor Pavlov" diff --git a/C/CpuArch.h b/C/CpuArch.h index fa44160a..f6a28ba7 100644 --- a/C/CpuArch.h +++ b/C/CpuArch.h @@ -1,5 +1,5 @@ /* CpuArch.h -- CPU specific code -2015-10-31: Igor Pavlov : Public domain */ +2015-12-01: Igor Pavlov : Public domain */ #ifndef __CPU_ARCH_H #define __CPU_ARCH_H @@ -78,7 +78,9 @@ MY_CPU_LE_UNALIGN means that CPU is LITTLE ENDIAN and CPU supports unaligned mem || defined(__MIPSEB) \ || defined(_MIPSEB) \ || defined(__m68k__) \ + || defined(__s390__) \ || defined(__s390x__) \ + || defined(__zarch__) \ || (defined(__BYTE_ORDER__) && (__BYTE_ORDER__ == __ORDER_BIG_ENDIAN__)) #define MY_CPU_BE #endif diff --git a/C/Util/7zipInstall/7zipInstall.c b/C/Util/7zipInstall/7zipInstall.c index f3263988..41aab71e 100644 --- a/C/Util/7zipInstall/7zipInstall.c +++ b/C/Util/7zipInstall/7zipInstall.c @@ -1,5 +1,5 @@ /* 7zipInstall.c - 7-Zip Installer -2015-11-08 : Igor Pavlov : Public domain */ +2015-12-09 : Igor Pavlov : Public domain */ #include "Precomp.h" @@ -571,6 +571,8 @@ static INT_PTR CALLBACK MyDlgProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM #endif break; } + + default: return FALSE; } break; @@ -1011,7 +1013,8 @@ int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, BOOL bRet; MSG msg; - while ((bRet = GetMessage(&msg, g_HWND, 0, 0)) != 0) + // we need messages for all thread windows (including EDITTEXT window in dialog) + while ((bRet = GetMessage(&msg, NULL, 0, 0)) != 0) { if (bRet == -1) return retCode; diff --git a/C/Util/7zipUninstall/7zipUninstall.c b/C/Util/7zipUninstall/7zipUninstall.c index d0bfd4cc..cd66002a 100644 --- a/C/Util/7zipUninstall/7zipUninstall.c +++ b/C/Util/7zipUninstall/7zipUninstall.c @@ -1,5 +1,5 @@ /* 7zipUninstall.c - 7-Zip Uninstaller -2015-11-08 : Igor Pavlov : Public domain */ +2015-12-26 : Igor Pavlov : Public domain */ #include "Precomp.h" @@ -542,7 +542,7 @@ static BOOL RemoveDir() #define k_Lang L"Lang" // NUM_LANG_TXT_FILES files are placed before en.ttt -#define NUM_LANG_TXT_FILES 86 +#define NUM_LANG_TXT_FILES 87 #ifdef _64BIT_INSTALLER #define NUM_EXTRA_FILES_64BIT 1 @@ -556,7 +556,7 @@ static const char *k_Names = "af an ar ast az ba be bg bn br ca co cs cy da de el eo es et eu ext" " fa fi fr fur fy ga gl gu he hi hr hu hy id io is it ja ka kaa kk ko ku ku-ckb ky" " lij lt lv mk mn mng mng2 mr ms nb ne nl nn pa-in pl ps pt pt-br ro ru" - " sa si sk sl sq sr-spc sr-spl sv ta th tr tt ug uk uz va vi zh-cn zh-tw" + " sa si sk sl sq sr-spc sr-spl sv ta th tr tt ug uk uz va vi yo zh-cn zh-tw" " en.ttt" " descript.ion" " History.txt" @@ -771,6 +771,8 @@ static INT_PTR CALLBACK MyDlgProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM OnClose(); break; } + + default: return FALSE; } break; @@ -1033,7 +1035,7 @@ int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, BOOL bRet; MSG msg; - while ((bRet = GetMessage(&msg, g_HWND, 0, 0)) != 0) + while ((bRet = GetMessage(&msg, NULL, 0, 0)) != 0) { if (bRet == -1) return retCode; |