Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
Help
»
Graphics
»
Meaningless code in Font.cpp
Print
Pages: [
1
]
Author
Topic: Meaningless code in Font.cpp (Read 2356 times)
0 Members and 1 Guest are viewing this topic.
Nexus
SFML Team
Hero Member
Posts: 6287
Thor Developer
Meaningless code in Font.cpp
«
on:
July 18, 2010, 10:33:07 pm »
This concerns a recent SVN modification (in
this thread
). I stumpled upon
Code:
[Select]
if (codePoint == 100)
codePoint = codePoint;
in line 156-157 of Font.cpp. I don't think this is intended, so I'm telling you. Just in case you wanted to achieve something different, but were overtired at the moment you wrote that.
Or did you just experiment and haven't removed it yet?
Logged
Zloxx II
: action platformer
Thor Library
: particle systems, animations, dot products, ...
SFML Game Development
:
Laurent
Administrator
Hero Member
Posts: 32498
Meaningless code in Font.cpp
«
Reply #1 on:
July 18, 2010, 10:43:48 pm »
Oups, thank you :mrgreen:
That was some debug stuff from the last fix, I indeed forgot to remove it.
Logged
Laurent Gomila - SFML developer
Nexus
SFML Team
Hero Member
Posts: 6287
Thor Developer
Meaningless code in Font.cpp
«
Reply #2 on:
July 18, 2010, 10:49:02 pm »
No problem.
But it's interesting, I have looked at the updated files only very rarely. Seems to be a lucky hit.
Logged
Zloxx II
: action platformer
Thor Library
: particle systems, animations, dot products, ...
SFML Game Development
:
Print
Pages: [
1
]
SFML community forums
»
Help
»
Graphics
»
Meaningless code in Font.cpp
anything