Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 107526 | Differences between
and this patch

Collapse All | Expand All

(-)slim-1.2.5/cfg.cpp.orig (-2 / +2 lines)
Lines 154-160 Link Here
154
    }
154
    }
155
    int pos = 0;
155
    int pos = 0;
156
    string line = s;
156
    string line = s;
157
    string::size_type len = line.length();
157
    int len = line.length();
158
    while ( pos < len && isspace( line[pos] ) ) {
158
    while ( pos < len && isspace( line[pos] ) ) {
159
        ++pos;
159
        ++pos;
160
    }
160
    }
Lines 240-246 Link Here
240
    if (sessions.size() <= 1)
240
    if (sessions.size() <= 1)
241
        return current;
241
        return current;
242
242
243
    for (int i=0; i<sessions.size()-1; i++) {
243
    for (int i=0; i<(int)sessions.size()-1; i++) {
244
        if (current == sessions[i]) {
244
        if (current == sessions[i]) {
245
            return sessions[i+1];
245
            return sessions[i+1];
246
        }
246
        }

Return to bug 107526