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

<hr>

<p>In <a href="https://github.com/geany/geany/pull/2776#discussion_r607104565">src/keyfile.c</a>:</p>
<pre style='color:#555'>> @@ -1187,6 +1214,22 @@ gboolean configuration_load(void)
 }
 
 
+gboolean configuration_load(void)
+{
+       gboolean prefs_loaded = read_config_file(PREFERENCES_FILE, PREFERENCES);
+       /* backwards-compatibility: try to read session from preferences if session file doesn't exist */
+       gchar *session_filename = SESSION_FILE;
+       gchar *session_file = g_build_filename(app->configdir, session_filename, NULL);
</pre>
<p>Added in <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/geany/geany/commit/c0303c846024134dd7b8310f5e32a50d46170a7f/hovercard" href="https://github.com/geany/geany/commit/c0303c846024134dd7b8310f5e32a50d46170a7f"><tt>c0303c8</tt></a></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/2776#discussion_r607104565">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ243HIW4IYPROOG65TTHG7GVANCNFSM42KJV3OQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAIOWJ27XGVWLLNIAWWO363THG7GVA5CNFSM42KJV3O2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOEVWHNXQ.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/2776#discussion_r607104565",
"url": "https://github.com/geany/geany/pull/2776#discussion_r607104565",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>