Skip to content

Commit d0a8d3c

Browse files
committed
TerminalFont (Linux): early return
1 parent 494cc14 commit d0a8d3c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/detection/terminalfont/terminalfont_linux.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,10 @@ static void detectXFCETerminal(FFTerminalFontResult* terminalFont)
146146
}
147147

148148
if (!configFound)
149+
{
149150
ffStrbufSetStatic(&terminalFont->error, "Couldn't find xfce4/xfconf/xfce-perchannel-xml/xfce4-terminal.xml or xfce4/terminal/terminalrc");
151+
return;
152+
}
150153

151154
if(useSysFont.length == 0 || ffStrbufIgnCaseCompS(&useSysFont, "false") == 0)
152155
{

0 commit comments

Comments
 (0)