[Gambas-user] little patch

Benoit Minisini gambas at ...1...
Wed Apr 25 21:38:15 CEST 2007


On mercredi 25 avril 2007, Stefano Palmeri wrote:
> I'm running last trunk revision.
>
> In Package.module, I think that the function PrintSlackDesc
> should be like this:
>
> PRIVATE SUB PrintSlackDesc(hFile AS File, sLine AS String)
>
>   DIM sPrefix as String
>
>   IF Project.Prefix THEN sPrefix = "gambas-"
>
>   sLine = sPrefix & LCase(Project.Name) & ": " & sLine
>   sLine = Left(sLine, 76)
>   PRINT #hFile, sLine
>
> END
>
> to make slack-desc respect package name.
> Tested and  working.
>
> Stefano
>

OK. I will do differently, as I am currently put some code in common between 
all different packaging routines.

You will tell me if it is all right :-)

Regards,

-- 
Benoit Minisini




More information about the User mailing list