diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2023-11-20 00:20:47 -0500 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2023-11-20 00:20:47 -0500 |
commit | 49e929fa89d9ce348df5068845069392f69d8c86 (patch) | |
tree | 5102690ca2d6480b8402d4eca1fa0d67a5cbbfc2 /src/str.c | |
parent | 776fa26053f7bf2f399279aaf77e9de9ab771c44 (diff) | |
download | stasis-49e929fa89d9ce348df5068845069392f69d8c86.tar.gz |
Rebrand for the last time
* Shorten OHMYCAL to OMC
* Rename ohmycal.h to omc.h
Diffstat (limited to 'src/str.c')
-rw-r--r-- | src/str.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -488,13 +488,13 @@ void strsort(char **arr, unsigned int sort_mode) { // Default mode is alphabetic sort compar fn = _strsort_alpha_compare; - if (sort_mode == OHMYCAL_SORT_LEN_DESCENDING) { + if (sort_mode == OMC_SORT_LEN_DESCENDING) { fn = _strsort_dsc_compare; - } else if (sort_mode == OHMYCAL_SORT_LEN_ASCENDING) { + } else if (sort_mode == OMC_SORT_LEN_ASCENDING) { fn = _strsort_asc_compare; - } else if (sort_mode == OHMYCAL_SORT_ALPHA) { + } else if (sort_mode == OMC_SORT_ALPHA) { fn = _strsort_alpha_compare; // ^ still selectable though ^ - } else if (sort_mode == OHMYCAL_SORT_NUMERIC) { + } else if (sort_mode == OMC_SORT_NUMERIC) { fn = _strsort_numeric_compare; } |