File tree 2 files changed +7
-6
lines changed
2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -169,16 +169,17 @@ BOOL goCommand::initializeGoVals(void){
169
169
return FALSE ;
170
170
}
171
171
172
- dir = _tcstok_s (dir, pathSep, &pkg );
172
+ dir = _tcstok (dir, pathSep);
173
173
_tcsncpy (this ->goPath , dir, _tcslen (dir)+1 );
174
174
while (dir != NULL ){
175
+ pkg = dir + _tcslen (dir) + 1 ;
175
176
if (_tcscmp (dir, TEXT (" src" )) == 0 ){
176
177
_tcsncpy (this ->goPkg , pkg, _tcslen (pkg)+1 );
177
178
free (start_address);
178
179
return TRUE ;
179
180
}
180
181
PathAppend (this ->goPath , dir);
181
- dir = _tcstok_s (NULL , pathSep, &pkg );
182
+ dir = _tcstok (NULL , pathSep);
182
183
}
183
184
free (start_address);
184
185
return FALSE ;
Original file line number Diff line number Diff line change @@ -38,8 +38,8 @@ WINDRES = windres -O coff
38
38
CFLAGS = -O2 -mtune=i686 -DBUILD_DLL -W -Wall -gstabs -mwindows \
39
39
$(foreach dir,$(SRC_DIRS ) ,-I$(dir ) ) \
40
40
-DUNICODE -D_UNICODE
41
- LIBS = -lws2_32 -lz - lm -Wl,-Map,$@ .map,--cref -static-libgcc
42
- LDFLAGS = -Wl,--out-implib,$(TARGET ) -shared -lshlwapi $(CFLAGS )
41
+ LIBS = -lws2_32 -lm -Wl,-Map,$@ .map,--cref -static-libgcc -lshlwapi
42
+ LDFLAGS = -Wl,--out-implib,$(TARGET ) -shared $(CFLAGS )
43
43
OBJDIR = .objs
44
44
45
45
# INSTALL_PATH = "C:\\Program Files\\Notepad++\\plugins\\"
@@ -92,9 +92,9 @@ $(OBJDIR)/%.o: %.cpp
92
92
93
93
$(TARGET ) : $(OBJS )
94
94
@echo Linking $@
95
- @$(CC ) -o $@ $(LDFLAGS ) $(OBJS ) $(LIBS )
95
+ @$(CXX ) -o $@ $(LDFLAGS ) $(OBJS ) $(LIBS )
96
96
97
- $(OBJDIR ) /% .res : % .rc % .ico % .h
97
+ $(OBJDIR ) /GOnpp/DockingFeature/goLine .res : GOnpp/DockingFeature/goLine .rc GOnpp/DockingFeature/resource .h
98
98
@$(call MKDIR-P,$(call dirname,$@ ) )
99
99
@$(WINDRES ) -o $@ $<
100
100
You can’t perform that action at this time.
0 commit comments