Skip to content

Commit

Permalink
std::iaslpha() -> Str::cisalpha()
Browse files Browse the repository at this point in the history
  • Loading branch information
VReaperV committed Jan 17, 2025
1 parent 2a37d2b commit b00f38f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/engine/renderer/gl_shader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1440,7 +1440,7 @@ std::string GLShaderManager::ShaderPostProcess( GLShader *shader, const std::str
for ( GLUniform* uniform : shader->_uniforms ) {
if ( !uniform->IsGlobal() ) {
const size_t pos = line.find( uniform->GetName() );
if ( pos != std::string::npos && !std::isalpha( line[pos + strlen( uniform->GetName() ) ]) ) {
if ( pos != std::string::npos && !Str::cisalpha( line[pos + strlen( uniform->GetName() )] ) ) {
skip = true;
break;
}
Expand Down

0 comments on commit b00f38f

Please sign in to comment.