Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ SMAUG ➜ SMAUG coding ➜ Title and Colors

Title and Colors

It is now over 60 days since the last post. This thread is closed.     Refresh page


Pages: 1  2 

Posted by David Haley   USA  (3,881 posts)  Bio
Date Reply #15 on Tue 08 Jun 2004 06:32 PM (UTC)
Message
That's because you did it wrong! :P You shouldn't be adding a space to the display but to the title. Otherwise you're just asking for trouble.

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
Top

Posted by Ithildin   USA  (262 posts)  Bio
Date Reply #16 on Tue 08 Jun 2004 06:56 PM (UTC)
Message
what is the trouble in doing the spacing? what can happen? i'm curious now..heh, i'll have to avoid it.
Top

Posted by David Haley   USA  (3,881 posts)  Bio
Date Reply #17 on Tue 08 Jun 2004 09:22 PM (UTC)

Amended on Tue 08 Jun 2004 09:23 PM (UTC) by David Haley

Message
If you add a space in the display, then you have to go edit every single place where you print the title - and everybody who subsequently uses your codebase has to be aware of this "quirk".

On the other hand, if the title itself contains the space, then life is good and the birds are singing - you no longer have to change anything whatsoever.

Basically to change the display is a mistake in program design, simply in that the space should be proper to the title and not the display. By fixing the display, you are fixing the symptom but not the disease, and this is rather self-obviously not the right way to go about doing things. :)

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


60,116 views.

This is page 2, subject is 2 pages long:  [Previous page]  1  2 

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.