Switch to unified view

a/src/common/rclconfig.cpp b/src/common/rclconfig.cpp
1
#ifndef lint
1
#ifndef lint
2
static char rcsid[] = "@(#$Id: rclconfig.cpp,v 1.50 2007-10-01 06:19:21 dockes Exp $ (C) 2004 J.F.Dockes";
2
static char rcsid[] = "@(#$Id: rclconfig.cpp,v 1.51 2007-10-02 11:39:08 dockes Exp $ (C) 2004 J.F.Dockes";
3
#endif
3
#endif
4
/*
4
/*
5
 *   This program is free software; you can redistribute it and/or modify
5
 *   This program is free software; you can redistribute it and/or modify
6
 *   it under the terms of the GNU General Public License as published by
6
 *   it under the terms of the GNU General Public License as published by
7
 *   the Free Software Foundation; either version 2 of the License, or
7
 *   the Free Software Foundation; either version 2 of the License, or
...
...
37
#include "pathut.h"
37
#include "pathut.h"
38
#include "rclconfig.h"
38
#include "rclconfig.h"
39
#include "conftree.h"
39
#include "conftree.h"
40
#include "debuglog.h"
40
#include "debuglog.h"
41
#include "smallut.h"
41
#include "smallut.h"
42
#include "textsplit.h"
42
43
43
#ifndef NO_NAMESPACES
44
#ifndef NO_NAMESPACES
44
using namespace std;
45
using namespace std;
45
#endif /* NO_NAMESPACES */
46
#endif /* NO_NAMESPACES */
46
47
...
...
129
    m_reason = string("No/bad mimeview in: ") + cnferrloc;
130
    m_reason = string("No/bad mimeview in: ") + cnferrloc;
130
    return;
131
    return;
131
    }
132
    }
132
133
133
    setKeyDir("");
134
    setKeyDir("");
134
135
    bool nocjk = false;
136
    if (getConfParam("nocjk", &nocjk) && nocjk == true) {
137
  TextSplit::cjkProcessing(false);
138
    } else {
139
  TextSplit::cjkProcessing(true);
140
    }
135
    m_ok = true;
141
    m_ok = true;
136
    return;
142
    return;
137
}
143
}
138
144
139
bool RclConfig::getConfParam(const std::string &name, int *ivp)
145
bool RclConfig::getConfParam(const std::string &name, int *ivp)