mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-21 14:02:57 +02:00
make many functions which do not require access to class member variables static so they can be called without an object to do so with. Based on part of a patch by Campbell Barton
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
#include "WaveTrack.h"
|
||||
#include "widgets/TimeTextCtrl.h"
|
||||
|
||||
int CompareSnapPoints(SnapPoint *s1, SnapPoint *s2)
|
||||
static int CompareSnapPoints(SnapPoint *s1, SnapPoint *s2)
|
||||
{
|
||||
return (s1->t - s2->t > 0? 1 : -1);
|
||||
}
|
||||
|
Reference in New Issue
Block a user