<p>It's unclear why the previous was added (by me) 12 years ago.<br>
Maybe the code in main_handle_filename() or after has been<br>
changed/improved so that it works now or the previous test case for<br>
opening files from the command line was wrong.<br>
This happens only when starting a new instance of Geany from command<br>
line. Opening files in a running instance works fine with and without<br>
this change.</p>
<p><span class="issue-keyword tooltipped tooltipped-se" aria-label="This pull request closes issue #2652.">Closes</span> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="739025002" data-permission-text="Title is private" data-url="https://github.com/geany/geany/issues/2652" data-hovercard-type="issue" data-hovercard-url="/geany/geany/issues/2652/hovercard" href="https://github.com/geany/geany/issues/2652">#2652</a>.</p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/geany/geany/pull/2660'>https://github.com/geany/geany/pull/2660</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>Do not convert filename when opening files from command line on Windows</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/geany/geany/pull/2660/files#diff-4fab1ecb4966e1c1fcdc7e68f336f5b53eda496dc036cbdd7a5068e59638b2f4">src/libmain.c</a>
    (4)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/geany/geany/pull/2660.patch'>https://github.com/geany/geany/pull/2660.patch</a></li>
  <li><a href='https://github.com/geany/geany/pull/2660.diff'>https://github.com/geany/geany/pull/2660.diff</a></li>
</ul>

<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/2660">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ7PVU5NM2FUJBHRG3DSP7R7JANCNFSM4TWHKV7Q">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAIOWJ3ESATO6FDXY24KCX3SP7R7JA5CNFSM4TWHKV72YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4LCNNEFQ.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/2660",
"url": "https://github.com/geany/geany/pull/2660",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>