Changeset 12269


Ignore:
Timestamp:
Jun 21, 2009, 1:02:07 AM (10 years ago)
Author:
gb
Message:

Un-botch some Windows 16-bit argv stuff.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/lisp-kernel/pmcl-kernel.c

    r12261 r12269  
    12791279#endif
    12801280        argv[argc] = NULL;
     1281        if (shadow) {
     1282          shadow[argc] = NULL;
     1283        }
    12811284      }
    12821285    }
     
    16191622
    16201623  for (i = 0; i < argc; i++) {
    1621     argv[i] = utf_16_to_utf_8(wide_argv[i]);
     1624    if (wide_argv[i]) {
     1625      argv[i] = utf_16_to_utf_8(wide_argv[i]);
     1626    } else {
     1627      argv[i] = NULL;
     1628    }
    16221629  }
    16231630  return argv;
Note: See TracChangeset for help on using the changeset viewer.