gitk: show_error fix
authorPaul Mackerras <paulus@samba.org>
Fri, 26 May 2006 12:34:30 +0000 (22:34 +1000)
committerPaul Mackerras <paulus@samba.org>
Fri, 26 May 2006 12:34:30 +0000 (22:34 +1000)
Bug noted by Junio C Hamano: show_error can be passed "." (root
window) as its $w argument, but appending ".m" and ".ok" results in
creating "..m" and "..ok" as window paths, which were invalid.
This fixes it in a slightly different way from Junio's patch, though.

Signed-off-by: Paul Mackerras <paulus@samba.org>
No differences found