Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 633940
Collapse All | Expand All

(-)a/scripts/xdg-mime.in (-2 / +2 lines)
Lines 171-177 Link Here
171
            blanks++
171
            blanks++
172
            suppress=1
172
            suppress=1
173
        } else if (associations && index($0, prefix) == 1) {
173
        } else if (associations && index($0, prefix) == 1) {
174
            value=substr($0, length(prefix) + 1, length)
174
            value=substr($0, length(prefix) + 1, length())
175
            split(value, apps, ";")
175
            split(value, apps, ";")
176
            value=application ";"
176
            value=application ";"
177
            count=0
177
            count=0
Lines 369-375 Link Here
369
        } else if (index($0, "[") == 1) {
369
        } else if (index($0, "[") == 1) {
370
            indefault=0
370
            indefault=0
371
        } else if (!found && indefault && index($0, prefix) == 1) {
371
        } else if (!found && indefault && index($0, prefix) == 1) {
372
            print substr($0, length(prefix) +1, length)
372
            print substr($0, length(prefix) +1, length())
373
            found=1
373
            found=1
374
        }
374
        }
375
    }
375
    }

Return to bug 633940