forked from bartvdbraak/blender
- intrr said, that if(strlen(marker->name)>0) is a bit cumbersome ...
I hope, that current solution will not provoke him ;-)
This commit is contained in:
parent
ff22c1de20
commit
61c341a152
@ -149,7 +149,7 @@ static void draw_marker(TimeMarker *marker)
|
||||
glDisable(GL_BLEND);
|
||||
|
||||
/* and the marker name too, shifted slightly to the top-right */
|
||||
if(strlen(marker->name)>0) {
|
||||
if(marker->name && marker->name[0]) {
|
||||
if(marker->flag & SELECT) {
|
||||
BIF_ThemeColor(TH_TEXT_HI);
|
||||
glRasterPos2f(xpos+(4.0*(xspace/xpixels)),
|
||||
|
Loading…
Reference in New Issue
Block a user