Mercurial > vim
comparison src/uninstall.c @ 31804:50555279168b
patch 9.0.1234: the code style has to be checked manually
Commit: https://github.com/vim/vim/commit/ebfec1c531f32d424bb2aca6e7391ef3bfcbfe20
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jan 22 21:14:53 2023 +0000
patch 9.0.1234: the code style has to be checked manually
Problem: The code style has to be checked manually.
Solution: Add basic code style checks in a test. Fix or avoid uncovered
problems.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 22 Jan 2023 22:15:04 +0100 |
parents | 9800e126eaa2 |
children | 1009c33499e7 |
comparison
equal
deleted
inserted
replaced
31803:7a9569aecc51 | 31804:50555279168b |
---|---|
47 did_load = TRUE; | 47 did_load = TRUE; |
48 advapi_lib = LoadLibrary("ADVAPI32.DLL"); | 48 advapi_lib = LoadLibrary("ADVAPI32.DLL"); |
49 if (advapi_lib != NULL) | 49 if (advapi_lib != NULL) |
50 delete_key_ex = (LONG (WINAPI *)(HKEY, LPCTSTR, REGSAM, DWORD))GetProcAddress(advapi_lib, "RegDeleteKeyExA"); | 50 delete_key_ex = (LONG (WINAPI *)(HKEY, LPCTSTR, REGSAM, DWORD))GetProcAddress(advapi_lib, "RegDeleteKeyExA"); |
51 } | 51 } |
52 if (delete_key_ex != NULL) { | 52 if (delete_key_ex != NULL) |
53 { | |
53 return (*delete_key_ex)(hRootKey, key, flag, 0); | 54 return (*delete_key_ex)(hRootKey, key, flag, 0); |
54 } | 55 } |
55 return RegDeleteKey(hRootKey, key); | 56 return RegDeleteKey(hRootKey, key); |
56 } | 57 } |
57 | 58 |