PATCH: Menu entries may contain NULL string

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

 



Hi.. the first of several patches I've made in the process of making our software
run under WINE.

Cyberscience disclaims all copyright and responsibility... ;-)

Changelog:

        * controls/menu.c: Adam Gundy <arg@cyberscience.com>
        Allow modifying a menu string to be NULL.

diff -u -r wine-20030219/controls/menu.c wine-20030219-new/controls/menu.c
--- wine-20030219/controls/menu.c       Thu Jan 16 01:17:34 2003
+++ wine-20030219-new/controls/menu.c   Mon Feb 24 17:23:13 2003
@@ -3521,7 +3521,6 @@
     if (IS_STRING_ITEM(flags))
     {
         TRACE("%p %d %04x %04x %s\n", hMenu, pos, flags, id, debugstr_w(str) );
-        if (!str) return FALSE;
     }
     else
     {


Seeya,
 Adam
--
Real Programmers don't comment their code. If it was hard to write,
it should be hard to read, and even harder to modify.
These are all my own opinions.



[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux