1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-04 11:23:46 +00:00
freebsd-ports/databases/kbibtex/files/patch-src__libkbibtexio__iconvlatex.cpp
Max Brazhnikov c02c892e11 Update to 0.4 for KDE 4
Take maintainership
2012-05-08 23:02:44 +00:00

12 lines
433 B
C++

--- ./src/libkbibtexio/iconvlatex.cpp.orig 2012-05-05 10:50:42.000000000 +0000
+++ ./src/libkbibtexio/iconvlatex.cpp 2012-05-06 00:53:04.285249457 +0000
@@ -58,7 +58,7 @@
QByteArray IConvLaTeX::encode(const QString &input)
{
QByteArray inputByteArray = input.toUtf8();
-#ifdef Q_WS_WIN
+#ifndef Q_OS_LINUX
/// iconv on Windows likes to have it as const char *
const char *inputBuffer = inputByteArray.data();
#else