Fixed backtrace for apps that never called down to 16-bit code.

This commit is contained in:
Alexandre Julliard 2000-10-02 22:17:07 +00:00
parent 6a2a2ebc71
commit df12a0d654

View file

@ -270,7 +270,8 @@ void DEBUG_BackTrace(BOOL noisy)
for (ok = TRUE; ok;) {
if ((frames[frameno].ss == sw_addr.seg) &&
(frames[frameno].ebp >= sw_addr.off)) {
sw_addr.off && (frames[frameno].ebp >= sw_addr.off))
{
/* 16<->32 switch...
* yes, I know this is confusing, it gave me a headache too */
if (is16) {