]> git.eshelyaron.com Git - emacs.git/commitdiff
; * src/w32.c (w32_memory_info): Fix coding style of last change.
authorEli Zaretskii <eliz@gnu.org>
Tue, 21 Jan 2025 19:25:15 +0000 (21:25 +0200)
committerEshel Yaron <me@eshelyaron.com>
Sat, 25 Jan 2025 17:42:12 +0000 (18:42 +0100)
(cherry picked from commit ce50a1d3c18bcf0e5f51f4ed49f292f7be31010d)

src/w32.c

index 927343834457aa31c76387ba200658ac91d47075..85916ad74a92847a4c99fc92748a7c5974a6b051 100644 (file)
--- a/src/w32.c
+++ b/src/w32.c
@@ -7681,7 +7681,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))
@@ -7693,7 +7693,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;