<commit_before>/*
 * texture.cpp
 *
 *  Created on: 18 kwi 2016
 *      Author: Michal
 */

#include "texture.h"
#include "window.h"
#include <iostream>

Texture::Texture(int x, int y, int width, int height, char* path) {
	this->x = x;
	this->y = y;
	this->width = width;
	this->height = height;
	string(path).copy(this->path,256,0);
}

Texture::~Texture() {<commit_msg>Small bugfix.<commit_after>/*
 * texture.cpp
 *
 *  Created on: 18 kwi 2016
 *      Author: Michal
 */

#include "texture.h"
#include "window.h"
#include <iostream>

Texture::Texture(int x, int y, int width, int height, char* path) {
	this->x = x;
	this->y = y;
	this->width = width;
	this->height = height;
	string(path).copy(this->path,256,0);
	this->path[strlen(path)]='\0';
}

Texture::~Texture() {
{'fraction_non_alphanumeric': 0.19170984455958548, 'fraction_numerical': 0.027202072538860103, 'mean_word_length': 3.861635220125786, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 16, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1417995', 'n_tokens_mistral': 311, 'n_tokens_neox': 297, 'n_words': 72}