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)
commite54be9e30ffb8ab21fe9ef740991940f4d00e79c
tree9b2091882f9ca3ead2775021fef97c6e5c68a22c
parentb5e096337c5516fece2c21d813c8534ac541f2a0
gitk: show_error fix

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>
gitk