> 2009/11/19 <fredrik@xxxxxxxxx>: >> -BString >> +const char* >> ScreenshotWindow::_FindValidFileName(const char* name) >> { >> BString baseName(name); >> - > ... >> >> - if (!fLastSelectedPath) >> + if (!fSaveScreenshotSilent && !fLastSelectedPath) >> return baseName; > > Here it seems the method now returns a pointer to a stack allocated > buffer, which doesn't look correct. Yes and no it's not correct, thanks > > Bye, > Jérôme > > -- MVH Fredrik Modèen