Author Topic: Bug in Project view with add files dialog  (Read 3360 times)

mariocup

  • Guest
Bug in Project view with add files dialog
« on: February 24, 2007, 11:33:37 pm »
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.
Code
		<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]