Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Maintenance - Mise à jour mensuelle Lundi 6 Février entre 7h00 et 9h00
Open sidebar
Gauthier Quesnel
irritator
Commits
f29559f9
Commit
f29559f9
authored
Apr 23, 2020
by
Gauthier Quesnel
Browse files
gui: fix linux warnings
parent
9b37920b
Pipeline
#11563
passed with stage
in 1 minute and 9 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
app/gui/dialog-file.cpp
View file @
f29559f9
...
...
@@ -23,7 +23,7 @@ struct file_dialog
std
::
filesystem
::
path
current
;
std
::
filesystem
::
path
selected
;
std
::
u8string
temp
;
char8_t
buffer
[
MAX_PATH
];
char8_t
buffer
[
512
];
bool
is_open
=
true
;
...
...
@@ -393,7 +393,7 @@ save_file_dialog(std::filesystem::path& out)
ImGui
::
InputText
(
"File Name"
,
(
char
*
)
fd
.
buffer
,
IM_ARRAYSIZE
(
fd
.
buffer
));
ImGui
::
Text
(
"Directory name: %s"
,
fd
.
current
.
u8string
().
c_str
());
ImGui
::
Text
(
"Directory name: %s"
,
(
const
char
*
)
fd
.
current
.
u8string
().
c_str
());
float
width
=
ImGui
::
GetContentRegionAvailWidth
();
ImGui
::
PushItemWidth
(
width
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment