2005-05-17 Jordi Mas i Hernandez <jordi@ximian.com>
* gnome/About.custom: fixes exception when passing null argument svn path=/trunk/gtk-sharp/; revision=44631
This commit is contained in:
parent
bd5af2ca78
commit
bf2e4b39fc
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2005-05-17 Jordi Mas i Hernandez <jordi@ximian.com>
|
||||||
|
|
||||||
|
* gnome/About.custom: fixes exception when passing null argument
|
||||||
|
|
||||||
2005-05-16 Mike Kestner <mkestner@novell.com>
|
2005-05-16 Mike Kestner <mkestner@novell.com>
|
||||||
|
|
||||||
* makefile.win32 : remove 1.0 csc, default to 1.1.
|
* makefile.win32 : remove 1.0 csc, default to 1.1.
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
|
|
||||||
IntPtr[] NullTerm (string[] src)
|
IntPtr[] NullTerm (string[] src)
|
||||||
{
|
{
|
||||||
if (src.Length == 0)
|
if (src == null || src.Length == 0)
|
||||||
return null;
|
return null;
|
||||||
IntPtr[] result = new IntPtr [src.Length + 1];
|
IntPtr[] result = new IntPtr [src.Length + 1];
|
||||||
for (int i = 0; i < src.Length; i++)
|
for (int i = 0; i < src.Length; i++)
|
||||||
|
|
Loading…
Reference in a new issue