jerome077 / gpsvp

Automatically exported from code.google.com/p/gpsvp
5 stars 2 forks source link

gpsvp crashes when right click-clicking on icon #111

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Obtain map of Lake Constance at
http://bodensee-navigationskarte.scbh.at/setup.exe, unfortunately this
comes as exe only. If in doubt please contact me.
2. Open the map in gpsvp, go to point N47°44'29" E9°9'30" (Dingelsdorf
port). Directly to the left there is a brownish symbol at max zoom level.
3. Right-click the symbol. The application crashes.
(BTW, a bit further below there is a restaurant symbol. When right-clicking
this, the application crashes as well.)

What is the expected output? What do you see instead?
Context menu with meaningful entries.

What version of the product are you using? On what operating system?
0.4.18, XP

Original issue reported on code.google.com by leichten...@gmail.com on 20 Sep 2009 at 9:41

GoogleCodeExporter commented 9 years ago
The fix is:

In MapApp.cpp, line 4120, replace:
            m_pinfo.wstrName = wcName;
by
            if (wcName) m_pinfo.wstrName = wcName;

Regards, Leo

Original comment by leichten...@gmail.com on 20 Sep 2009 at 10:07

GoogleCodeExporter commented 9 years ago
As it was easy to import the patch I imported it, before releasing a new 
version.

Original comment by jerome077 on 25 Jan 2012 at 9:12