aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2023-11-03 13:32:28 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2023-11-03 13:32:28 -0400
commit776fa26053f7bf2f399279aaf77e9de9ab771c44 (patch)
tree55f46113921e8e4cb59457f63e98a6a405ad08eb /src
parenta826e0d788b3164455523a64264cea3604cfb105 (diff)
downloadstasis-776fa26053f7bf2f399279aaf77e9de9ab771c44.tar.gz
Rebrand SPM to OHMYCAL
Diffstat (limited to 'src')
-rw-r--r--src/str.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/str.c b/src/str.c
index c9c6767..8e52611 100644
--- a/src/str.c
+++ b/src/str.c
@@ -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 == SPM_SORT_LEN_DESCENDING) {
+ if (sort_mode == OHMYCAL_SORT_LEN_DESCENDING) {
fn = _strsort_dsc_compare;
- } else if (sort_mode == SPM_SORT_LEN_ASCENDING) {
+ } else if (sort_mode == OHMYCAL_SORT_LEN_ASCENDING) {
fn = _strsort_asc_compare;
- } else if (sort_mode == SPM_SORT_ALPHA) {
+ } else if (sort_mode == OHMYCAL_SORT_ALPHA) {
fn = _strsort_alpha_compare; // ^ still selectable though ^
- } else if (sort_mode == SPM_SORT_NUMERIC) {
+ } else if (sort_mode == OHMYCAL_SORT_NUMERIC) {
fn = _strsort_numeric_compare;
}