emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/w32bdf.c,v


From: Miles Bader
Subject: [Emacs-diffs] Changes to emacs/src/w32bdf.c,v
Date: Wed, 21 Nov 2007 04:56:00 +0000

CVSROOT:        /cvsroot/emacs
Module name:    emacs
Changes by:     Miles Bader <miles>     07/11/21 04:55:58

Index: src/w32bdf.c
===================================================================
RCS file: /cvsroot/emacs/emacs/src/w32bdf.c,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -b -r1.28 -r1.29
--- src/w32bdf.c        26 Jul 2007 05:27:58 -0000      1.28
+++ src/w32bdf.c        21 Nov 2007 04:55:54 -0000      1.29
@@ -261,7 +261,7 @@
       error("Fail to open BDF file");
     }
   hfilemap = CreateFileMapping(hfile, NULL, PAGE_READONLY, 0, 0, NULL);
-  if (hfilemap == INVALID_HANDLE_VALUE)
+  if (!hfilemap)
     {
       CloseHandle(hfile);
       error("Can't map font");
@@ -828,7 +828,7 @@
   size = fileinfo.nFileSizeLow;
 
   hfilemap = CreateFileMapping (hfile, NULL, PAGE_READONLY, 0, 0, NULL);
-  if (hfilemap == INVALID_HANDLE_VALUE)
+  if (!hfilemap)
     {
       CloseHandle (hfile);
       return 0;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]