summaryrefslogtreecommitdiff
path: root/misc/celestia/patches/patch-ac
diff options
context:
space:
mode:
Diffstat (limited to 'misc/celestia/patches/patch-ac')
-rw-r--r--misc/celestia/patches/patch-ac31
1 files changed, 31 insertions, 0 deletions
diff --git a/misc/celestia/patches/patch-ac b/misc/celestia/patches/patch-ac
new file mode 100644
index 00000000000..0f33db57dbb
--- /dev/null
+++ b/misc/celestia/patches/patch-ac
@@ -0,0 +1,31 @@
+$NetBSD: patch-ac,v 1.3 2004/11/16 14:34:39 adam Exp $
+
+--- src/celestia/kde/celestialbrowser.cpp.orig 2004-11-15 17:03:29.000000000 +0000
++++ src/celestia/kde/celestialbrowser.cpp
+@@ -138,7 +138,7 @@ void CelestialBrowser::slotRefresh()
+ QString starClass(buf);
+
+ CelListViewItem *starItem = new CelListViewItem(listStars, QString(name),
+- QString::fromUtf8(ReplaceGreekLetterAbbr(name).c_str()), dist, appMag, absMag, starClass);
++ QString(name), dist, appMag, absMag, starClass);
+
+ SolarSystemCatalog::iterator iter = solarSystemCatalog->find(star->getCatalogNumber());
+ if (iter != solarSystemCatalog->end())
+@@ -156,7 +156,7 @@ void CelestialBrowser::slotRefresh()
+ sprintf(buf, " %.2f au", starBodyDist / KM_PER_AU);
+ QString distStarBody(buf);
+
+- CelListViewItem *planetItem = new CelListViewItem(starItem, QString(body->getName()),
++ CelListViewItem *planetItem = new CelListViewItem(starItem, QString(body->getName().c_str()),
+ QString::fromUtf8(body->getName().c_str()),
+ distStarBody, "", "", getClassification(body->getClassification()));
+
+@@ -173,7 +173,7 @@ void CelestialBrowser::slotRefresh()
+ sprintf(buf, " %.0f km", bodySatDist);
+ QString distBodySat(buf);
+
+- new CelListViewItem(planetItem, QString(sat->getName()),
++ new CelListViewItem(planetItem, QString(sat->getName().c_str()),
+ QString::fromUtf8(sat->getName().c_str()),
+ distBodySat, "", "", getClassification(sat->getClassification()));
+