diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/configimpl.l | 2 | ||||
-rw-r--r-- | src/latexgen.cpp | 5 | ||||
-rw-r--r-- | src/portable.cpp | 4 |
3 files changed, 3 insertions, 8 deletions
diff --git a/src/configimpl.l b/src/configimpl.l index ed5b052..b533910 100644 --- a/src/configimpl.l +++ b/src/configimpl.l @@ -1263,7 +1263,7 @@ static void cleanUpPaths(QStrList &str) char *sfp = str.first(); while (sfp) { - register char *p = sfp; + char *p = sfp; if (p) { char c; diff --git a/src/latexgen.cpp b/src/latexgen.cpp index 45b06bf..94c3dd1 100644 --- a/src/latexgen.cpp +++ b/src/latexgen.cpp @@ -165,11 +165,6 @@ void LatexCodeGenerator::writeCodeLink(const char *ref,const char *f, static bool pdfHyperlinks = Config_getBool(PDF_HYPERLINKS); static bool usePDFLatex = Config_getBool(USE_PDFLATEX); int l = qstrlen(name); - if (m_col+l>80) - { - m_t << "\n "; - m_col=0; - } if (!ref && usePDFLatex && pdfHyperlinks) { m_t << "\\mbox{\\hyperlink{"; diff --git a/src/portable.cpp b/src/portable.cpp index 08691b2..3dccaed 100644 --- a/src/portable.cpp +++ b/src/portable.cpp @@ -211,8 +211,8 @@ void portable_setenv(const char *name,const char *value) #if defined(_WIN32) && !defined(__CYGWIN__) SetEnvironmentVariable(name,value); #else - register char **ep = 0; - register size_t size; + char **ep = 0; + size_t size; const size_t namelen=qstrlen(name); const size_t vallen=qstrlen(value) + 1; |