Cleanup: Spelling
authorSergey Sharybin <sergey.vfx@gmail.com>
Tue, 4 Dec 2018 10:43:53 +0000 (11:43 +0100)
committerSergey Sharybin <sergey.vfx@gmail.com>
Tue, 4 Dec 2018 10:43:53 +0000 (11:43 +0100)
source/blender/blenlib/intern/task.c

index b6d704d8d822cc3426e250c0e66c7be05ecdbe60..f71c0d7a74818d2a7fcf97d357bb85305b711d79 100644 (file)
@@ -1029,7 +1029,7 @@ static void parallel_range_func(
        }
 }
 
-static void palallel_range_single_thread(const int start, int const stop,
+static void parallel_range_single_thread(const int start, int const stop,
                                          void *userdata,
                                          TaskParallelRangeFunc func,
                                          const ParallelRangeSettings *settings)
@@ -1089,7 +1089,7 @@ void BLI_task_parallel_range(const int start, const int stop,
         * do everything from the main thread.
         */
        if (!settings->use_threading) {
-               palallel_range_single_thread(start, stop,
+               parallel_range_single_thread(start, stop,
                                             userdata,
                                             func,
                                             settings);
@@ -1126,7 +1126,7 @@ void BLI_task_parallel_range(const int start, const int stop,
                           max_ii(1, (stop - start) / state.chunk_size));
 
        if (num_tasks == 1) {
-               palallel_range_single_thread(start, stop,
+               parallel_range_single_thread(start, stop,
                                             userdata,
                                             func,
                                             settings);