(fixes issue #2538 ) Based on TortoiseSVN rev. 26944. Signed-off-by: Sven Strickroth <email@cs-ware.de>