diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2018-05-18 00:01:05 +0200 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2018-05-18 00:01:05 +0200 |
commit | 7969d8035530d40753c4f880c90a4e90f9679ccc (patch) | |
tree | b749d364c36c1dd457e1869508c3cea8792ae002 /srd.c | |
parent | 4e7ccaf9f133106786fd85a432ae23e11d9dcea2 (diff) | |
download | libsigrokdecode-7969d8035530d40753c4f880c90a4e90f9679ccc.tar.gz libsigrokdecode-7969d8035530d40753c4f880c90a4e90f9679ccc.zip |
Random whitespace/cosmetic/consistency fixes.
Diffstat (limited to 'srd.c')
-rw-r--r-- | srd.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -105,7 +105,7 @@ static int searchpath_add_xdg_dir(const char *datadir) if (g_file_test(decdir, G_FILE_TEST_IS_DIR)) ret = srd_decoder_searchpath_add(decdir); else - ret = SRD_OK; /* just ignore non-existing directory */ + ret = SRD_OK; /* Just ignore non-existing directory. */ g_free(decdir); @@ -245,7 +245,7 @@ SRD_API int srd_init(const char *path) /* Locations relative to the XDG system data directories. */ sys_datadirs = g_get_system_data_dirs(); for (i = g_strv_length((char **)sys_datadirs); i > 0; i--) { - ret = searchpath_add_xdg_dir(sys_datadirs[i-1]); + ret = searchpath_add_xdg_dir(sys_datadirs[i - 1]); if (ret != SRD_OK) { Py_Finalize(); return ret; |