Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

imgui_te_utils: support emscripten / fix ImFileCreateDirectoryChain #35

Closed
wants to merge 3 commits into from

Conversation

pthom
Copy link
Contributor

@pthom pthom commented Oct 6, 2023

Hello Omar,

This PR contains small fixes:

  • support build on emscripten and windows arm 64
  • fix an issue inside ImFileCreateDirectoryChain which fails on windows if IMGUI_USE_WCHAR32 is defined
    (in which case ImTextStrFromUtf8 will produce a 32 bits text, which cannot be used by CreateDirectoryW)

pthom added 3 commits October 6, 2023 11:03
…E_WCHAR32

We cannot use ImWchar, which can be 32bits if IMGUI_USE_WCHAR32 (and CreateDirectoryW require 16bits wchar).
@pthom pthom changed the title Pthom/fixes imgui_te_utils: support emscripten / fix ImFileCreateDirectoryChain Oct 6, 2023
ocornut added a commit that referenced this pull request Apr 15, 2024
ocornut pushed a commit that referenced this pull request Apr 15, 2024
ocornut pushed a commit that referenced this pull request Apr 15, 2024
…WCHAR32 (#35)

We cannot use ImWchar, which can be 32bits if IMGUI_USE_WCHAR32 (and CreateDirectoryW require 16bits wchar).
@ocornut
Copy link
Owner

ocornut commented Apr 15, 2024

All merged, thank you Pascal. Sorry I sort of forgot about this simple PR!

@ocornut ocornut closed this Apr 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants