Revision: 4540
          http://skim-app.svn.sourceforge.net/skim-app/?rev=4540&view=rev
Author:   hofman
Date:     2008-09-04 11:30:42 +0000 (Thu, 04 Sep 2008)

Log Message:
-----------
Avoid a compiler warning for comparing floats using ==

Modified Paths:
--------------
    trunk/vendorsrc/jeromelaurens/synctex_parser.m

Modified: trunk/vendorsrc/jeromelaurens/synctex_parser.m
===================================================================
--- trunk/vendorsrc/jeromelaurens/synctex_parser.m      2008-09-04 11:14:01 UTC 
(rev 4539)
+++ trunk/vendorsrc/jeromelaurens/synctex_parser.m      2008-09-04 11:30:42 UTC 
(rev 4540)
@@ -3179,7 +3179,7 @@
        synctex_node_set_t bestNodes = {NULL,NULL}; /* holds the best node */
        synctex_distances_t bestDistances = {INT_MAX,INT_MAX};
        synctex_node_t bestContainer = NULL; /* placeholder */
-       if(NULL == scanner || 0 == scanner->unit) {
+       if(NULL == scanner || 0 >= scanner->unit) {
                return 0;
        }
        /* Convert the given point to scanner integer coordinates */


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to