<p><b>@ntrel</b> commented on this pull request.</p>

<hr>

<p>In <a href="https://github.com/geany/geany/pull/2271#discussion_r319769221">src/build.c</a>:</p>
<pre style='color:#555'>> @@ -1547,25 +1542,17 @@ static void set_stop_button(gboolean stop)
        GtkToolButton *run_button;
 
        run_button = GTK_TOOL_BUTTON(toolbar_get_widget_by_name("Run"));
-       if (run_button != NULL)
-               button_stock_id = gtk_tool_button_get_stock_id(run_button);
+       if (!run_button) return;
</pre>
<p>I've added the line break to comply with HACKING. There are 3 existing if statements in build.c with a return clause on the same line, but I see that there are not many of these in <code>src/</code>.</p>
<blockquote>
<p>space after !</p>
</blockquote>
<p>I haven't done this, there are 16 matches for the regex <code>\bif \(!\S</code> in build.c.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/pull/2271?email_source=notifications&email_token=AAIOWJ6J5MWEF25QTXJYDC3QHP65LA5CNFSM4IPBC37KYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCDKGHWQ#discussion_r319769221">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ6BXAG5FMCVQJJ5Z53QHP65LANCNFSM4IPBC37A">mute the thread</a>.<img src="https://github.com/notifications/beacon/AAIOWJ7Z6DL7A7JS73BM5CDQHP65LA5CNFSM4IPBC37KYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCDKGHWQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/pull/2271?email_source=notifications\u0026email_token=AAIOWJ6J5MWEF25QTXJYDC3QHP65LA5CNFSM4IPBC37KYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCDKGHWQ#discussion_r319769221",
"url": "https://github.com/geany/geany/pull/2271?email_source=notifications\u0026email_token=AAIOWJ6J5MWEF25QTXJYDC3QHP65LA5CNFSM4IPBC37KYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCDKGHWQ#discussion_r319769221",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>