News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Bug in Project view with add files dialog

Started by mariocup, February 24, 2007, 11:33:37 PM

Previous topic - Next topic

mariocup

Hi,

I am using svn 3634. The attachment contains an example to reproduce the bug.
Howto:
Unzip the file_struct.7z and open the file example/example.cbp.

Then go to add files dialog and select src/add.c. Then in the project view the file add.c is not shown relative to example.cbp as src/add.c but as example/src/add.c. If you save now the project without closing code::blocks and open example.cbp in external editor you see the line.

<Unit filename="src\add.c">
<Option compilerVar="CC" />
</Unit>

The project file is correct but the view is not correct. If you close code::blocks and open the project file the view will be correct, because the project file is still correct. Really strange behaviour.

Bye

Mario

[attachment deleted by admin]