opnsense-ports/devel/subcommander2/files/patch-sublib__ErrorDialog.cpp
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

18 lines
393 B
C++

--- sublib/ErrorDialog.cpp.orig 2007-08-19 22:04:03.000000000 +0900
+++ sublib/ErrorDialog.cpp 2012-05-10 05:49:27.000000000 +0900
@@ -219,6 +219,7 @@
{
}
+#if _WIN32
static const char* copyString( const QString& s )
{
QByteArray qs = s.toLocal8Bit();
@@ -226,6 +227,7 @@
strncpy( result, (const char*)qs, qs.length() );
return result;
}
+#endif
void ErrorDialog::send()
{