[Gambas-user] Bug in 0.93 ide

Benoit Minisini gambas at ...1...
Sun May 16 19:28:16 CEST 2004


On Sunday 16 May 2004 15:06, Fabien Bodard wrote:
> Bug :
>
> The properties form crash at opening...
>
>
> Error line : 92
>
> FOR EACH sLang IN Dir(File.Dir(Project.Path) &/ ".lang", "*.po")   ===>
> Directory not exist
>
> Correction :
>
>     Change  :
>     FOR EACH sLang IN Dir(File.Dir(Project.Path) &/ ".lang", "*.po")
>       lstTranslation.Add(Language.ToName(File.BaseName(sLang)))
>     NEXT
>
>
> by :
>
>
>   IF Exist(File.Dir(Project.Path) &/ ".lang") THEN
>     FOR EACH sLang IN Dir(File.Dir(Project.Path) &/ ".lang", "*.po")
>       lstTranslation.Add(Language.ToName(File.BaseName(sLang)))
>     NEXT
>   ENDIF
>
>
> Fabien Bodard
>

Thank you for the patch Fabien.

Maybe I will make a 0.93a because this bug is annoying.

Regards,

-- 
Benoit Minisini
mailto:gambas at ...1...




More information about the User mailing list