Jean-Marc Lasgouttes wrote:
Abdelrazak Younes <[EMAIL PROTECTED]> writes:
[EMAIL PROTECTED] wrote:
Author: younes
Date: Fri Dec 7 12:57:13 2007
New Revision: 22002
+void GuiView::newDocument(string const & filename, bool from_template)
+{
+ FileName initpath;
+ Buffer * buf = buff
Abdelrazak Younes <[EMAIL PROTECTED]> writes:
> [EMAIL PROTECTED] wrote:
>> Author: younes
>> Date: Fri Dec 7 12:57:13 2007
>> New Revision: 22002
>
>> +void GuiView::newDocument(string const & filename, bool from_template)
>> +{
>> +FileName initpath;
>> +Buffer * buf = buffer();
>> +
[EMAIL PROTECTED] wrote:
Author: younes
Date: Fri Dec 7 12:57:13 2007
New Revision: 22002
+void GuiView::newDocument(string const & filename, bool from_template)
+{
+ FileName initpath;
+ Buffer * buf = buffer();
+ if (buf) {
+ FileName const trypath(buf->fileP