mirror of
https://github.com/Garux/netradiant-custom.git
synced 2026-09-29 00:00:03 +02:00
minor tweaks
This commit is contained in:
@@ -351,7 +351,6 @@ void DoAbout(){
|
||||
auto label = new QLabel( "NetRadiant " RADIANT_VERSION "\n"
|
||||
__DATE__ "\n\n"
|
||||
RADIANT_ABOUTMSG "\n\n"
|
||||
"By alientrap.org\n\n"
|
||||
"This program is free software\n"
|
||||
"licensed under the GNU GPL.\n"
|
||||
);
|
||||
|
||||
@@ -1045,12 +1045,7 @@ void TextureBrowser::draw(){
|
||||
gl().glRasterPos2i( x, y - fontHeight - fontDescent + 3 );//+5
|
||||
|
||||
// don't draw the directory name
|
||||
const char* name = shader->getName();
|
||||
name += strlen( name );
|
||||
while ( name != shader->getName() && *( name - 1 ) != '/' && *( name - 1 ) != '\\' )
|
||||
name--;
|
||||
|
||||
GlobalOpenGL().drawString( name );
|
||||
GlobalOpenGL().drawString( path_get_filename_start( shader->getName() ) );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user