patch-src_celestia_wineclipses_cpp 1.4 KB

12345678910111213141516171819202122232425262728293031
  1. $OpenBSD: patch-src_celestia_wineclipses_cpp,v 1.1 2009/11/17 23:12:16 ajacoutot Exp $
  2. --- src/celestia/wineclipses.cpp.orig Tue Nov 17 15:25:44 2009
  3. +++ src/celestia/wineclipses.cpp Tue Nov 17 15:26:05 2009
  4. @@ -65,7 +65,7 @@ bool InitEclipseFinderColumns(HWND listView)
  5. columns[3].cx = 55;
  6. columns[4].pszText = _("Duration");
  7. columns[4].cx = 55;
  8. - bind_textdomain_codeset("celestia", "UTF8");
  9. + bind_textdomain_codeset("celestia", "UTF-8");
  10. for (i = 0; i < nColumns; i++)
  11. {
  12. @@ -146,7 +146,7 @@ void EclipseFinderDisplayItem(LPNMLVDISPINFOA nm)
  13. _(MonthNames[startDate.month - 1]),
  14. startDate.year);
  15. nm->item.pszText = callbackScratch;
  16. - bind_textdomain_codeset("celestia", "UTF8");
  17. + bind_textdomain_codeset("celestia", "UTF-8");
  18. }
  19. break;
  20. @@ -321,7 +321,7 @@ BOOL APIENTRY EclipseFinderProc(HWND hDlg,
  21. SendDlgItemMessage(hDlg, IDC_ECLIPSETARGET, CB_ADDSTRING, 0, (LPARAM)_("Pluto"));
  22. SendDlgItemMessage(hDlg, IDC_ECLIPSETARGET, CB_SETCURSEL, 0, 0);
  23. efd->strPlaneteToFindOn = "Earth";
  24. - bind_textdomain_codeset("celestia", "UTF8");
  25. + bind_textdomain_codeset("celestia", "UTF-8");
  26. InitDateControls(hDlg, astro::Date(efd->appCore->getSimulation()->getTime()), efd->fromTime, efd->toTime);