mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-28 06:26:01 +01:00
A const
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
This commit is contained in:
parent
5d2666daf5
commit
7b9fd65ce6
2 changed files with 2 additions and 2 deletions
2
config.c
2
config.c
|
@ -454,7 +454,7 @@ config_load_default(zathura_t* zathura)
|
|||
}
|
||||
|
||||
void
|
||||
config_load_file(zathura_t* zathura, char* path)
|
||||
config_load_file(zathura_t* zathura, const char* path)
|
||||
{
|
||||
if (zathura == NULL || path == NULL) {
|
||||
return;
|
||||
|
|
2
config.h
2
config.h
|
@ -21,6 +21,6 @@ void config_load_default(zathura_t* zathura);
|
|||
* @param zathura The zathura session
|
||||
* @param path Path to the configuration file
|
||||
*/
|
||||
void config_load_file(zathura_t* zathura, char* path);
|
||||
void config_load_file(zathura_t* zathura, const char* path);
|
||||
|
||||
#endif // CONFIG_H
|
||||
|
|
Loading…
Reference in a new issue