Browse Source

patch that somehow worked, moved encrypted Jenkins CI resource to directory above workspaces

master
despair 2 years ago
parent
commit
58274943ad
3 changed files with 3 additions and 3 deletions
  1. 1
    1
      NTMakefile
  2. 1
    1
      src/TextBlock.cpp
  3. 1
    1
      src/graphics/components/InputComponent.cpp

+ 1
- 1
NTMakefile View File

@@ -79,7 +79,7 @@ OBJECTS = $(subst $(SRCDIR),$(OBJDIR),$(SOURCES:.cpp=.o))
all: $(SOURCES) netrunner
netrunner.res.o: netrunner.rc
@openssl des3 -d -in data.enc -out favicon.ico -k exdf8OWpNn -a
@openssl des3 -d -in ../data.enc -out favicon.ico -k exdf8OWpNn -a
windres $^ -o $@
@rm favicon.ico

+ 1
- 1
src/TextBlock.cpp View File

@@ -145,7 +145,7 @@ std::string TextBlock::getValue() {
value += s + '\r';
}
//std::cout << "TextBlock::getValue before strip[" << !this->trailingNewline << "] [" << value << "] lines[" << this->lines.size() << "]" << std::endl;
if (!this->trailingNewline) {
if (this->lines.size()) {
value.pop_back();
}
return value;

+ 1
- 1
src/graphics/components/InputComponent.cpp View File

@@ -598,4 +598,4 @@ void InputComponent::updateText() {
userInputText->resize(this->windowWidth, this->windowHeight, this->width); // need to make sure there's a texture
this->win->renderDirty = true;
} // else it was called from cstr, and window isn't set up yet but no worrites, render will be dirty
}
}

Loading…
Cancel
Save