summaryrefslogtreecommitdiff
path: root/beos/gui.cpp
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2014-02-01 22:17:36 +0000
committerVincent Sanders <vince@kyllikki.org>2014-02-01 22:17:36 +0000
commit886a3106db6d6a60d2d706d2caad3e883dd70b14 (patch)
tree0fcd0fb9c8821f06d47e7e20e8c796e085e8aa2b /beos/gui.cpp
parent427f127fa9d42cdf9005d06813c580d18d5e0d6a (diff)
downloadnetsurf-886a3106db6d6a60d2d706d2caad3e883dd70b14.tar.gz
netsurf-886a3106db6d6a60d2d706d2caad3e883dd70b14.tar.bz2
move utf8 local conversion operations to table
Diffstat (limited to 'beos/gui.cpp')
-rw-r--r--beos/gui.cpp29
1 files changed, 0 insertions, 29 deletions
diff --git a/beos/gui.cpp b/beos/gui.cpp
index 97117e04b..07bbc3eab 100644
--- a/beos/gui.cpp
+++ b/beos/gui.cpp
@@ -963,35 +963,6 @@ static void nsbeos_create_ssl_verify_window(struct browser_window *bw,
CALLED();
}
-
-nserror utf8_to_local_encoding(const char *string, size_t len, char **result)
-{
- assert(string && result);
-
- if (len == 0)
- len = strlen(string);
-
- *result = strndup(string, len);
- if (!(*result))
- return NSERROR_NOMEM;
-
- return NSERROR_OK;
-}
-
-nserror utf8_from_local_encoding(const char *string, size_t len, char **result)
-{
- assert(string && result);
-
- if (len == 0)
- len = strlen(string);
-
- *result = strndup(string, len);
- if (!(*result))
- return NSERROR_NOMEM;
-
- return NSERROR_OK;
-}
-
static char *path_to_url(const char *path)
{
int urllen = strlen(path) + FILE_SCHEME_PREFIX_LEN + 1;