X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ftex-accent.C;h=81abac3f94a4865997941cd939bd2b59fda70f2e;hb=a69e7a45780e94f4330a91facfe35126c678e34e;hp=f5e84708643735ff2efe95268a06bb999f9a6214;hpb=6130fe1aa5c07d0204205bcf5dd1f86b8449fb16;p=lyx.git diff --git a/src/tex-accent.C b/src/tex-accent.C index f5e8470864..81abac3f94 100644 --- a/src/tex-accent.C +++ b/src/tex-accent.C @@ -1,5 +1,19 @@ +/* This file is part of + * ====================================================== + * + * LyX, The Document Processor + * + * Copyright 1995 Matthias Ettrich + * Copyright 1995-2000 The LyX Team. + * + * ====================================================== */ + #include +#ifdef __GNUG__ +#pragma implementation +#endif + #include #include "tex-accent.h" #include "commandtags.h" @@ -76,13 +90,13 @@ string DoAccent(string const & s, tex_accent accent) { string res; - res+= lyx_accent_table[accent].cmd; - res+= '{'; + res += lyx_accent_table[accent].cmd; + res += '{'; if (s == "i" || s == "j") { - res+= '\\'; + res += '\\'; } - res+= s; - res+= '}'; + res += s; + res += '}'; return res; }