pkgsrc/editors/notecase/patches/patch-ag

31 lines
852 B
Text
Raw Normal View History

$NetBSD: patch-ag,v 1.1.1.1 2007/11/22 20:50:09 drochner Exp $
--- src/FileExportDlg.cpp.orig 2007-11-21 20:49:35.000000000 +0100
+++ src/FileExportDlg.cpp
@@ -48,6 +48,7 @@ FileExportDlg::FileExportDlg()
m_formats[3].szFilter = "*.html";
m_formats[4].szName = _("Text file (*.txt)");
m_formats[4].szFilter = "*.txt";
+#if 0
#ifdef _WIN32
m_formats[5].szName = _("Standalone executable (*.exe)");
m_formats[5].szFilter = "*.exe";
@@ -55,6 +56,7 @@ FileExportDlg::FileExportDlg()
m_formats[5].szName = _("Standalone executable");
m_formats[5].szFilter = "*";
#endif
+#endif
Create();
}
@@ -187,7 +189,9 @@ int FileExportDlg::GetFormatCode()
case 2: return FORMAT_NOTECENTER_HTML;
case 3: return FORMAT_HTML;
case 4: return FORMAT_TXT;
+#if 0
case 5: return FORMAT_EXECUTABLE;
+#endif
}
return FORMAT_NONE;
}