summaryrefslogtreecommitdiff
path: root/srd.c
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2018-05-18 00:01:05 +0200
committerUwe Hermann <uwe@hermann-uwe.de>2018-05-18 00:01:05 +0200
commit7969d8035530d40753c4f880c90a4e90f9679ccc (patch)
treeb749d364c36c1dd457e1869508c3cea8792ae002 /srd.c
parent4e7ccaf9f133106786fd85a432ae23e11d9dcea2 (diff)
downloadlibsigrokdecode-7969d8035530d40753c4f880c90a4e90f9679ccc.tar.gz
libsigrokdecode-7969d8035530d40753c4f880c90a4e90f9679ccc.zip
Random whitespace/cosmetic/consistency fixes.
Diffstat (limited to 'srd.c')
-rw-r--r--srd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/srd.c b/srd.c
index bed8031..e040e3a 100644
--- a/srd.c
+++ b/srd.c
@@ -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;