Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
OAI-RAN-5G-sheduler_MaxTBS
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
MAQ5G-PFC
OAI-RAN-5G-sheduler_MaxTBS
Commits
57240cc0
Commit
57240cc0
authored
8 years ago
by
Cedric Roux
Browse files
Options
Downloads
Patches
Plain Diff
switch to utf-8
parent
b0e50688
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
common/utils/T/tracer/gui/x.c
+2
-2
2 additions, 2 deletions
common/utils/T/tracer/gui/x.c
with
2 additions
and
2 deletions
common/utils/T/tracer/gui/x.c
+
2
−
2
View file @
57240cc0
...
...
@@ -331,7 +331,7 @@ void x_text_get_dimensions(x_connection *_c, int font, const char *t,
struct
x_connection
*
c
=
_c
;
XGlyphInfo
ext
;
XftTextExtents8
(
c
->
d
,
c
->
fonts
[
font
],
(
FcChar8
*
)
t
,
strlen
(
t
),
&
ext
);
XftTextExtents
Utf
8
(
c
->
d
,
c
->
fonts
[
font
],
(
FcChar8
*
)
t
,
strlen
(
t
),
&
ext
);
*
width
=
ext
.
width
;
*
height
=
c
->
fonts
[
font
]
->
height
;
...
...
@@ -372,7 +372,7 @@ void x_draw_string(x_connection *_c, x_window *_w, int font, int color,
struct
x_connection
*
c
=
_c
;
struct
x_window
*
w
=
_w
;
int
tlen
=
strlen
(
t
);
XftDrawString8
(
w
->
xft
,
&
c
->
xft_colors
[
color
],
c
->
fonts
[
font
],
XftDrawString
Utf
8
(
w
->
xft
,
&
c
->
xft_colors
[
color
],
c
->
fonts
[
font
],
x
,
y
,
(
const
unsigned
char
*
)
t
,
tlen
);
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment