Browse Source

Fix custom class name

Signed-off-by: falkTX <falktx@falktx.com>
pull/443/head
falkTX 4 months ago
parent
commit
df2afed246
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      dgl/src/ApplicationPrivateData.cpp

+ 1
- 1
dgl/src/ApplicationPrivateData.cpp View File

@@ -168,7 +168,7 @@ void Application::PrivateData::setClassName(const char* const name)
DISTRHO_SAFE_ASSERT_RETURN(name != nullptr && name[0] != '\0',);

if (world != nullptr)
puglSetWorldString(world, PUGL_CLASS_NAME, "canvas");
puglSetWorldString(world, PUGL_CLASS_NAME, name);
}

// --------------------------------------------------------------------------------------------------------------------


Loading…
Cancel
Save