On Tue, 21 Sep 2010 at  3:03:40 +0200, Tamas TEVESZ wrote:
> 
> how about this:
> 
> diff --git a/WINGs/memory.c b/WINGs/memory.c
> index 9d770b0..bb6df5c 100644
> --- a/WINGs/memory.c
> +++ b/WINGs/memory.c
> @@ -95,6 +95,7 @@ void *wmalloc(size_t size)
>                         }
>                 }
>         }
> +       memset(tmp, 0, size);
>         return tmp;
>  }

Hm, I'd rather keep them separate and fix the omissions.

> on a different note, i'm quite sure about this one:
> 
> diff --git a/src/application.c b/src/application.c
> index 21155c7..ca1cf1a 100644
> --- a/src/application.c
> +++ b/src/application.c
> @@ -192,7 +192,7 @@ void wApplicationExtractDirPackIcon(WScreen * scr, char 
> *path, char *wm_instance
>                         if (access(tmp, R_OK) == 0)
>                                 iconPath = tmp;
>                 }
> -               if (!path) {
> +               if (!iconPath) {
>                         strcpy(tmp, path);
>                         strcat(tmp, ".xpm");
>                         if (access(tmp, R_OK) == 0)

Yep! Mind doing a separate patch for this one?


-- 
To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.

Reply via email to