Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Synchronet
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
Container 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
Main
Synchronet
Commits
16571d5b
Commit
16571d5b
authored
3 years ago
by
Deucе
Browse files
Options
Downloads
Patches
Plain Diff
Whoops, add missing files for last commit.
parent
d9660eaf
No related branches found
No related tags found
1 merge request
!463
MRC mods by Codefenix (2024-10-20)
Pipeline
#2698
failed
3 years ago
Stage: build
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/xpdev/unicode.c
+7
-0
7 additions, 0 deletions
src/xpdev/unicode.c
src/xpdev/unicode.h
+1
-0
1 addition, 0 deletions
src/xpdev/unicode.h
with
8 additions
and
0 deletions
src/xpdev/unicode.c
+
7
−
0
View file @
16571d5b
...
...
@@ -348,6 +348,13 @@ size_t unicode_width(enum unicode_codepoint u)
}
}
char
unicode_to_latin1
(
enum
unicode_codepoint
codepoint
)
{
if
(
codepoint
<
0
||
codepoint
>
255
)
return
UNICODE_UNDEFINED
;
return
codepoint
;
}
char
unicode_to_cp437
(
enum
unicode_codepoint
codepoint
)
{
switch
(
codepoint
)
{
...
...
This diff is collapsed.
Click to expand it.
src/xpdev/unicode.h
+
1
−
0
View file @
16571d5b
...
...
@@ -46,6 +46,7 @@ extern "C" {
extern
enum
unicode_codepoint
cp437_unicode_tbl
[];
size_t
unicode_width
(
enum
unicode_codepoint
);
char
unicode_to_cp437
(
enum
unicode_codepoint
);
char
unicode_to_latin1
(
enum
unicode_codepoint
);
#if defined(__cplusplus)
}
...
...
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