projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
58d3d48
)
; * src/w32.c (w32_memory_info): Fix coding style of last change.
author
Eli Zaretskii
<eliz@gnu.org>
Tue, 21 Jan 2025 19:25:15 +0000
(21:25 +0200)
committer
Eli Zaretskii
<eliz@gnu.org>
Tue, 21 Jan 2025 19:25:15 +0000
(21:25 +0200)
src/w32.c
patch
|
blob
|
history
diff --git
a/src/w32.c
b/src/w32.c
index 0d876951cf67b6be7f5058a92272285e759c7313..1135462ba8c30bc7e90dd89de312eb9fb9a4647f 100644
(file)
--- a/
src/w32.c
+++ b/
src/w32.c
@@
-7659,7
+7659,7
@@
w32_memory_info (unsigned long long *totalram, unsigned long long *freeram,
{
MEMORYSTATUS memst;
MEMORY_STATUS_EX memstex;
- memstex.dwLength = sizeof(memstex);
+ memstex.dwLength = sizeof
(memstex);
/* Use GlobalMemoryStatusEx if available, as it can report more than
2GB of memory. */
if (global_memory_status_ex (&memstex))
@@
-7671,7
+7671,7
@@
w32_memory_info (unsigned long long *totalram, unsigned long long *freeram,
return 0;
}
- memst.dwLength = sizeof(memst);
+ memst.dwLength = sizeof
(memst);
if (global_memory_status (&memst))
{
*totalram = memst.dwTotalPhys;