https://bugs.kde.org/show_bug.cgi?id=390087

            Bug ID: 390087
           Summary: kcms/kfontinst/lib/Misc.cpp:294: strange if statement
                    ?
           Product: plasmashell
           Version: 5.12.0
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: k...@davidedmundson.co.uk
          Reporter: dcb...@hotmail.com
                CC: plasma-b...@kde.org
  Target Milestone: 1.0

plasma-desktop-5.12.0/kcms/kfontinst/lib/Misc.cpp:294]: (style) Same expression
on both sides of '||'.

Source code is

     return "font/otf"==mime || "font/ttf"==mime ||
            "application/x-font-type1"==mime ||
            "application/x-font-ttf"==mime || "application/x-font-otf"==mime ||
            "application/x-font-type1"==mime;

x-font-type1 gets mentioned twice. Suggest code rework.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to