]> git.xonotic.org Git - xonotic/netradiant.git/blobdiff - radiant/shaders.cpp
radiant: bump the commands (shortcuts) version
[xonotic/netradiant.git] / radiant / shaders.cpp
index f02474e0686f7e3ff13b7e4316396d6f7655f6e9..6612c335d6f6da83f3bcb60a4ae850552b89db02 100644 (file)
@@ -27,7 +27,7 @@
 
 #include "gtkdlgs.h"
 
-void ViewShader( const char *pFile, const char *pName ){
+void ViewShader( const char *pFile, const char *pName, bool external_editor ){
        char* pBuff = 0;
        //int nSize =
        vfsLoadFile( pFile, reinterpret_cast<void**>( &pBuff ) );
@@ -123,5 +123,5 @@ void ViewShader( const char *pFile, const char *pName ){
        // now close the file
        vfsFreeFile( pBuff );
 
-       DoTextEditor( pFile, static_cast<int>( nOffset ), length );
+       DoTextEditor( pFile, static_cast<int>( nOffset ), length, external_editor );
 }