What's going on here? I'm doing a simple test against a global

if (!g_navigationPresent)
        return;

g_navigationPresent is a global (UInt32) which holds the value of the 5-way navigation feature I have two simple functions which do this test as the first thing after allocating variables.
they compile differently - and one is wrong
copied below is the mixed source version of the two.

Function A:

if (!g_navigationPresent)
030FEA6C: 4AADAE24        tst.l    -20956(a5)
030FEA70: 670A beq.s NavigationOn+0x14 (0x30fea7c); 0x030fea7c
        return;

Function B:

if (!g_navigationPresent)
030FEA32: 4AADAE24        tst.l    -20956(a5)
        return;

Why could this be?

Thanks,

Rob


--
---------------------------------------
Let me tell you when I update my applications: Sign up for email notification here:
http://www.hobbyistsoftware.com/Updates.php

--
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/

Reply via email to