mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-28 20:45:47 +00:00
Fix swapped logic (#11889)
This commit is contained in:
parent
8f89768211
commit
bde95c1876
@ -350,7 +350,7 @@ docstring InsetQuotesParams::getLaTeXQuote(char_type c, string const & op,
|
|||||||
case 0x2019: {// '
|
case 0x2019: {// '
|
||||||
if (op == "int")
|
if (op == "int")
|
||||||
// This macro is redefined in rtl mode
|
// This macro is redefined in rtl mode
|
||||||
res = rtl ? "\\textquoteright" : "\\textquoteleft";
|
res = rtl ? "\\textquoteleft" : "\\textquoteright";
|
||||||
else
|
else
|
||||||
res = "'";
|
res = "'";
|
||||||
break;
|
break;
|
||||||
@ -358,7 +358,7 @@ docstring InsetQuotesParams::getLaTeXQuote(char_type c, string const & op,
|
|||||||
case 0x2018: {// `
|
case 0x2018: {// `
|
||||||
if (op == "int")
|
if (op == "int")
|
||||||
// This macro is redefined in rtl mode
|
// This macro is redefined in rtl mode
|
||||||
res = rtl ? "\\textquoteleft" : "\\textquoteright";
|
res = rtl ? "\\textquoteright" : "\\textquoteleft";
|
||||||
else
|
else
|
||||||
res = "`";
|
res = "`";
|
||||||
break;
|
break;
|
||||||
@ -393,7 +393,7 @@ docstring InsetQuotesParams::getLaTeXQuote(char_type c, string const & op,
|
|||||||
case 0x201d: {// ''
|
case 0x201d: {// ''
|
||||||
if (op == "int")
|
if (op == "int")
|
||||||
// This macro is redefined in rtl mode
|
// This macro is redefined in rtl mode
|
||||||
res = rtl ? "\\textquotedblright" : "\\textquotedblleft";
|
res = rtl ? "\\textquotedblleft" : "\\textquotedblright";
|
||||||
else
|
else
|
||||||
res = "''";
|
res = "''";
|
||||||
break;
|
break;
|
||||||
@ -401,7 +401,7 @@ docstring InsetQuotesParams::getLaTeXQuote(char_type c, string const & op,
|
|||||||
case 0x201c: {// ``
|
case 0x201c: {// ``
|
||||||
if (op == "int")
|
if (op == "int")
|
||||||
// This macro is redefined in rtl mode
|
// This macro is redefined in rtl mode
|
||||||
res = rtl ? "\\textquotedblleft" : "\\textquotedblright";
|
res = rtl ? "\\textquotedblright" : "\\textquotedblleft";
|
||||||
else
|
else
|
||||||
res = "``";
|
res = "``";
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user