Skip to main content
gamedev.net
🔒 Locked

source tag

Started by evil sausage 6 replies 1k views
Original Post
evil sausage
evil sausage
Has anyone noticed that sometimes source tags affect the font of a post? For example in thisthread the font of a post with source tags in it is green. I'm guessing it has something to do with the defines. [edited by - evil sausage on May 26, 2003 11:35:03 AM] [edited by - evil sausage on May 26, 2003 11:35:41 AM]
And so, the evil religion thread stole the wonderful "What the Heck?" thread's throne. Truly a sad day for gamedev.
cowsarenotevil
cowsarenotevil
quote:
Original post by evil sausage
Has anyone noticed that sometimes source tags affect the font of a post? For example in thisthread the font of a post with source tags in it is green. I'm guessing it has something to do with the defines.



      
It's generally when

you have

  
multiple source tags

and then you type afterwards.




-~-The Cow of Darkness-~-

If you see the image I am online

[edited by - cowsarenotevil on May 26, 2003 11:31:24 AM]

[edited by - cowsarenotevil on May 26, 2003 11:32:15 AM]
-~-The Cow of Darkness-~-
cowsarenotevil
cowsarenotevil
AHHHHH! TEH EXTENDED CHARS! WTH JUST HAPPENED????. Sorry, I'm calmed down now, but that was unexpected...

EDIT: Who slipped
< font face="wingdings" > 
into my post needlesly twice, but then only closed it once? Dave?? DAVE?





-~-The Cow of Darkness-~-

If you see the image I am online

[edited by - cowsarenotevil on May 26, 2003 11:30:34 AM]
-~-The Cow of Darkness-~-
evil sausage
evil sausage
quote:
Original post by cowsarenotevil
AHHHHH! TEH EXTENDED CHARS! WTH JUST HAPPENED????. Sorry, I'm calmed down now, but that was unexpected...




-~-The Cow of Darkness-~-

If you see the image I am online


The first victim of my sig! My sig has an open font tag. It's gone now.
edit:I will get rid of that now.



[edited by - evil sausage on May 26, 2003 11:30:24 AM]

[edited by - evil sausage on May 26, 2003 11:31:33 AM]
And so, the evil religion thread stole the wonderful "What the Heck?" thread's throne. Truly a sad day for gamedev.
cowsarenotevil
cowsarenotevil
Oh... I see...

EDIT: The colors still didn't get funky... I guess I need #includes... I should have known better when I didn't see a sig, evil sausage...




-~-The Cow of Darkness-~-

If you see the image I am online

[edited by - cowsarenotevil on May 26, 2003 11:33:22 AM]
-~-The Cow of Darkness-~-
CWizard
CWizard
  
#define X 1

or

#define X 1 // comment


???


[edited by - CWizard on May 26, 2003 1:10:11 PM]
cowsarenotevil
cowsarenotevil
The plot thickens




-~-The Cow of Darkness-~-

If you see the image I am online
-~-The Cow of Darkness-~-
CWizard
CWizard
The bug seems to be when you comment a #define (or a preprocessor directive).

<DIV CLASS=source><pre> <BR><font color="green">#define X 1 <font color="gray">// comment </font></pre></DIV>

Seems to be 2 opening font tags there, but only one ending; the green one preveils.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.