Move similar/editor/medsel.c -> similar/editor/medsel.cpp

This commit is contained in:
Kp 2012-11-17 06:14:09 +00:00
parent d52967da2d
commit 02f3ec94d1
2 changed files with 4 additions and 2 deletions

View file

@ -841,7 +841,7 @@ class DXXProgram(DXXCommon):
'editor/meddraw.cpp',
'editor/medmisc.cpp',
'editor/medrobot.cpp',
'editor/medsel.c',
'editor/medsel.cpp',
'editor/medwall.c',
'editor/mine.c',
'editor/objpage.c',

View file

@ -32,6 +32,8 @@ COPYRIGHT 1993-1998 PARALLAX SOFTWARE CORPORATION. ALL RIGHTS RESERVED.
#include "editor/medmisc.h"
#include "segment.h"
#include "object.h"
#include "medsel.h"
#include "kdefs.h"
typedef struct sort_element {
short segnum;
@ -65,7 +67,7 @@ void sort_seg_list(int n_segs,short *segnumlist,vms_vector *pos)
int i;
sort_element *sortlist;
sortlist = d_calloc(n_segs, sizeof(*sortlist));
CALLOC(sortlist, sort_element, n_segs);
for (i=0;i<n_segs;i++) {
sortlist[i].segnum = segnumlist[i];