diff options
| author | Albert Cervin <albert@acervin.com> | 2023-05-11 22:09:49 +0200 |
|---|---|---|
| committer | Albert Cervin <albert@acervin.com> | 2023-05-11 22:09:49 +0200 |
| commit | ea849862a85e1751206c20254e9126cf3e8096b5 (patch) | |
| tree | 249bbd4630a156983ea77bc4d43c186e03f6ed0e /src/dged/lang.h | |
| parent | 67276833f9ede96dbc549c508f182c913240ac2c (diff) | |
| download | dged-ea849862a85e1751206c20254e9126cf3e8096b5.tar.gz dged-ea849862a85e1751206c20254e9126cf3e8096b5.tar.xz dged-ea849862a85e1751206c20254e9126cf3e8096b5.zip | |
Fix languages
- Enumerate windows on screen.
- Build with optimizations.
Diffstat (limited to 'src/dged/lang.h')
| -rw-r--r-- | src/dged/lang.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/dged/lang.h b/src/dged/lang.h index 984e207..5aff52c 100644 --- a/src/dged/lang.h +++ b/src/dged/lang.h @@ -27,12 +27,12 @@ struct language { void languages_init(bool register_default); /** - * Get a language config by file name extension. + * Get a language config by file name. * - * @param[in] ext File extension + * @param[in] filename File name. * @returns A language config instance or the default language if not found. */ -struct language lang_from_extension(const char *ext); +struct language lang_from_filename(const char *filename); /** * Get a language config by id. The language id is a short (all-lowercase) |
