Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
coshcage authored Nov 1, 2023
1 parent e80e1c8 commit aaf63b3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/sitable.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Name: sitable.c
* Description: SI functions for tables.
* Author: cosh.cage#hotmail.com
* File ID: 0628231947C1101231110L00976
* File ID: 0628231947C1101231110L00978
* License: GPLv2.
*/
#define _CRT_SECURE_NO_WARNINGS
Expand Down Expand Up @@ -83,6 +83,8 @@ static int _sicbfcmpSV(const void * px, const void * py)
*/
void siSortView(P_MATRIX pmtx, size_t col, BOOL ascd)
{
if (col >= pmtx->col)
return;
sizSVTarget = col;
bAscend = ascd;
qsort(pmtx->arrz.pdata, pmtx->ln, sizeof(P_CELL) * pmtx->col, _sicbfcmpSV);
Expand Down

0 comments on commit aaf63b3

Please sign in to comment.