[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Suspicious code in TMerge MainFrm

From: Dmitry <wipedout_at_yandex.ru>
Date: Mon, 24 Jan 2011 15:23:55 +0300

Hey.

In TMerge MainFrm there're two similar pieces of code for starting TProc. In one case there's a call to GetAppDirectory(), in the other one - to GetModuleFileName. Is there any reason for that? If that's not necessary attached is an untested patch that reduces duplication.

Best wishes.
Dmitry.

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=2700110

To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].

Received on 2011-01-24 13:24:08 CET

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.