Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix export for some locales #1542

Merged
merged 2 commits into from Jan 4, 2015
Merged

Fix export for some locales #1542

merged 2 commits into from Jan 4, 2015

Conversation

DanWin
Copy link
Contributor

@DanWin DanWin commented Jan 2, 2015

Some translators might change a given frequency from Hz to KHz to make the phrase shorter or fit a specific style. But as we were reading out the string and passing the numbers to a function, this caused problems resulting in Export causing to frees LMMS. This addresses issue #1496
Now we simply store the corresponding bit-/samplerates for the Boxes in an array and get the values from it instead of trying to get the number from the translated string.

@diizy
Copy link
Contributor

diizy commented Jan 2, 2015

Change those ints to const... (just for good coding practices)

@DanWin
Copy link
Contributor Author

DanWin commented Jan 2, 2015

Ok, done.

@badosu
Copy link
Contributor

badosu commented Jan 2, 2015

Wow, I would never have imagined this, thanks!

diizy added a commit that referenced this pull request Jan 4, 2015
Fix export for some locales
@diizy diizy merged commit 5fdc452 into LMMS:stable-1.1 Jan 4, 2015
@DanWin DanWin deleted the export branch January 4, 2015 15:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants