winspector: Don't use text input if NULL
commite206f471fe708c5d0f46f201dbd589196cb4e111
authorRodolfo García Peñas (kix) <kix@kix.es>
Wed, 28 Nov 2012 21:50:51 +0000 (28 22:50 +0100)
committerCarlos R. Mafra <crmafra@gmail.com>
Thu, 29 Nov 2012 09:30:25 +0000 (29 09:30 +0000)
tree2ba59e587bfd141a3e067d68f04af571f1acb828
parent99e5a7a9eb7769f821d0f0c0d419bba31bf6bf45
winspector: Don't use text input if NULL

This patch don't use the text input for the file if is empty.
The function should use the function to get the icon provided
by the client.
src/winspector.c