summaryrefslogtreecommitdiff
path: root/editors/abiword/patches/patch-plugins_latex_xp_ie__exp__LaTeX.cpp
blob: c2565e2886aa9e2ee4ade2fdb4595fc2ad8cb9f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-plugins_latex_xp_ie__exp__LaTeX.cpp,v 1.1 2018/06/30 12:43:29 maya Exp $

Bug 13754 - Fix build on gcc-6 (default to C++11)
https://github.com/AbiWord/abiword/commit/a83e6f50dbd5efa16fb39efe32b9de370f103130

--- plugins/latex/xp/ie_exp_LaTeX.cpp.orig	2013-04-07 13:53:03.000000000 +0000
+++ plugins/latex/xp/ie_exp_LaTeX.cpp
@@ -1329,7 +1329,7 @@ void s_LaTeX_Listener::_outputData(const
 	m_pie->write(sBuf.c_str(),sBuf.size());
 }
 
-#define SUB(a,who) case a: subst = "\\(\\"who"\\)"; return true;
+#define SUB(a,who) case a: subst = "\\(\\" who"\\)"; return true;
 #define SUBd(a,who) case a: subst = who; return true;
 static bool _convertLettersToSymbols(char c, const char *& subst)
 {