diff -Naur e:\dll\iup\a/src/iup_classinfo.c e:\dll\iup\b/src/iup_classinfo.c
--- e:\dll\iup\a/src/iup_classinfo.c 2019-12-05 10:43:30.000000000 -0300
+++ e:\dll\iup\b/src/iup_classinfo.c 2020-01-04 13:54:23.459629400 -0300
@@ -339,7 +339,7 @@
iupStrEqual(className, "tuioclient") ||
iupStrEqual(className, "webbrowser"))
folder = "ctrl";
- else if (className[0] == 'G' && className[0] == 'L')
+ else if (className[0] == 'G' && className[1] == 'L')
folder = "gl";
if (iupStrEqualPartial(className, "mgl") ||
* That was a bug! Thanks for reporting.*
diff -Naur e:\dll\iup\a/src/iup_maskparse.c e:\dll\iup\b/src/iup_maskparse.c
--- e:\dll\iup\a/src/iup_maskparse.c 2019-07-25 16:55:01.000000000 -0300
+++ e:\dll\iup\b/src/iup_maskparse.c 2020-01-04 13:56:12.134479700 -0300
@@ -410,7 +410,7 @@
if (match_functions[loop1].ch == '\0')
{
- int temp;
+ unsigned int temp;
switch (vars->string[vars->j])
{
* That's incorrect. sscanf needs an "int".*
diff -Naur e:\dll\iup\a/src/iup_ledparse.c e:\dll\iup\b/src/iup_ledparse.c
--- e:\dll\iup\a/src/iup_ledparse.c 2019-12-10 14:29:16.000000000 -0300
+++ e:\dll\iup\b/src/iup_ledparse.c 2020-01-04 13:55:34.959614900 -0300
@@ -38,7 +38,7 @@
iupASSERT(buffer != NULL || filename != NULL);
if (!buffer && !filename)
{
- if (buffer)
+ if (!buffer)
return "invalid buffer";
else
return "invalid file name";
That was a bug! But the fix was actually different. ANyway, thanks for
reporting.
Best,
Scuri
Em sáb., 4 de jan. de 2020 às 10:59, Ranier Vilela <[email protected]>
escreveu:
> Hi,
> Attached patch to fix some minor fixes in iup_core.
>
> regards,
> Ranier Vilela_______________________________________________
> Iup-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/iup-users
>
_______________________________________________
Iup-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/iup-users