wmaker: replaced temporary allocation by local storage for error message
commit7bf256531609c11747a5037e8e8c65a949e9f107
authorChristophe CURIS <christophe.curis@free.fr>
Sat, 29 Nov 2014 15:35:22 +0000 (29 16:35 +0100)
committerCarlos R. Mafra <crmafra@gmail.com>
Sat, 29 Nov 2014 18:44:48 +0000 (29 18:44 +0000)
treeab6a632b8a101978eeb31ae4befa74f622565aa3
parent7542451a046535ba7ed9919dc9610a822c796904
wmaker: replaced temporary allocation by local storage for error message

In case of problem with a directory when building the list of files for the
Icon Chooser dialog, an error message was generated using a temporary
allocated buffer. This is not really good for memory fragmentation, so this
patch re-uses the local buffer which will be enough for all reasonable
cases.

Took opportunity to make message less prone to translation difficulties,
and include more information about the problem to the user so he may know
what went wrong.

Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
29 files changed:
po/be.po
po/bg.po
po/bs.po
po/ca.po
po/cs.po
po/da.po
po/de.po
po/el.po
po/es.po
po/et.po
po/fi.po
po/fr.po
po/gl.po
po/hr.po
po/hu.po
po/hy.po
po/it.po
po/ja.po
po/ko.po
po/ms.po
po/nl.po
po/pl.po
po/pt.po
po/ru.po
po/sk.po
po/tr.po
po/zh_CN.po
po/zh_TW.po
src/dialog.c