projects
/
platform
/
upstream
/
libHarfBuzzSharp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
30cbe61
)
Use g_strdup instead of strdup
author
Khaled Hosny
<khaledhosny@eglug.org>
Fri, 19 Oct 2018 20:21:39 +0000
(22:21 +0200)
committer
Khaled Hosny
<khaledhosny@eglug.org>
Fri, 19 Oct 2018 20:46:40 +0000
(22:46 +0200)
Cygwin does not seem to have strdup.
util/options.hh
patch
|
blob
|
history
diff --git
a/util/options.hh
b/util/options.hh
index
3749b99
..
dd62859
100644
(file)
--- a/
util/options.hh
+++ b/
util/options.hh
@@
-586,7
+586,7
@@
struct output_options_t : option_group_t
if (output_format)
{
output_format++; /* skip the dot */
- output_format = strdup (output_format);
+ output_format =
g_
strdup (output_format);
}
}